Delete a Blocked Number Rule

Delete a call blocklist rule.

Request URL

GET {base_url}/{api_path}/block_numbers/delete?id={id}&access_token={access_token}

Request parameters

Table 1.
Parameter Required Type Description
id Yes Integer The unique ID of a call blocklist rule.
Note: You can query call blocklist rule's ID using Search Specific Blocked Numbers Rules.

Response parameters

Table 2.
Parameter Type Description
errcode Integer Returned error code.
  • 0: Succeed.
  • Non-zero value: Failed.
Note: You can check the error code and error message in Error Code and Error Message.
errmsg String Returned message.
  • SUCCESS: Succeed.
  • FAILURE: Failed.

Examples

Request example

GET /openapi/v1.0/block_numbers/delete?access_token=SX7P7AvcZdEJcr275lJcIP5BdWZDIPIH&id=5 HTTP/1.1
Host: 192.168.5.150:8088

Response example

HTTP/1.1 200 OK
{
    "errcode": 0,
    "errmsg": "SUCCESS"
}