DomainsDeleteContact

Delete a contact.

Input

Parameter Value Example value
id Contact ID
Parameter is verplicht
234234


Output

Parameter Value Example value
success command executed successfully 0 = error
1 = command executed successfully
command_response_message Error
Only sent when value parameter success = 0
incorrect password


Example

<? require("class_versio_api.php"); unset($command); $command = array( "command" => "DomainsDeleteContact", "id" => "123" ); $api = new Versio_api(); $versio = $api->api_send( $command ); IF($versio['success']==0) { echo("Error occured. Error code: ".$versio['command_response_code'].". Error message: ".$versio['command_response_message'].""); } else { echo("Contact succesfully deleted."); } ?>