Delete an IVR

Delete an IVR.

Request URL

GET {base_url}/{api_path}/ivr/delete?access_token={access_token}

Request parameters

Parameter Required Type Description
id Yes Integer The unique ID of the IVR.
Note: You can query IVR's ID using Search Specific IVRs.

Response parameters

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

Delete the IVR with ID "10".
GET /openapi/v1.0/ivr/delete?access_token=eHd8GAih2aI6AIM2l8Jii3cA5UXaL0hJ&id=10 HTTP/1.1
Host: 192.168.5.150:8088
Response example
HTTP/1.1 200 OK
{
    "errcode": 0,
    "errmsg": "SUCCESS"
}