deleteContacts method¶
deleteContacts¶
The method lets you delete deals. Method: POST Format: JSON URL: https://api.r7k12.com/{{TOKEN}}/deleteContacts Parameters: Table 1 Content-type: application/json Table 1
| Name | Value | Required | Description |
| ids | array[string] | Yes | Array of unique IDs of the contacts to be deleted |
Request body example:
{
"ids" : [1,2,3]
}
Script example (PHP):
define('TOKEN','XXXXXXXXX');
@file_get_contents(
'https://api.r7k12.com/'.TOKEN.'/deleteContacts',
0,
stream_context_create(
[
'http' => [
'method' => "POST",
'header' => "Content-Type: application/json\r\n",
'content' => json_encode(
[
'ids' => [1, 2, 3]
]
)
]
]
)
);