deletecontact
Purpose
This command is used to delete a contact in the system.
Attributes
- contactid - The ID of the contact to delete
Example Command
$postfields = array(); $postfields["responsetype"] = "json"; $postfields["action"] = "deletecontact"; $postfields["contactid"] = "1"; $result = mikrovps_SendCommand( $postfields );
Successful Response
result = success contactid = xxx # ID of deleted contact that was deleted
Error Response
result=error message=Contact ID not found
Given Contact ID is not found in the database.