Deleting blocks of numbers from a website
Method |
delete.site_blocks |
Description |
Deleting blocks of numbers from a website |
WHo has access |
Agent, Customer |
Parameters of a request
Title |
Type |
Required |
Description |
access_token |
string |
yes |
Authentication session key |
id |
number |
yes |
Block of numbers unique ID |
user_id |
number |
no |
Unique ID of an agent's customer user who makes request Is required for agent To access a list of customer users you need to use the method "get.customer_users" |
JSON request structure
{
"jsonrpc": "2.0",
"id": "number",
"method": "delete.site_blocks",
"params": {
"access_token": "string",
"user_id": "number",
"id": "number"
}
}
JSON reply structure
{
"jsonrpc": "2.0",
"id": "number",
"result": {
"success": "true"
}
}
List of returning errors
Refer to the section "List of errors for the methods with the verb delete"