Delete a Call Disposition

Delete a call disposition.

Request URL

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

Request parameters

Parameter Required Type Description
id Yes Integer The unique ID of a call disposition.
Note: You can query call disposition's ID using the Query Call Disposition List interface.

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.

Example

Request example

GET /openapi/v1.0/call_disposition/delete?id=3&access_token=lweYFZuwsgSrhFOKC3Z0XmDRXfbPohi6 HTTP/1.1

Host: yeastardocs.example.yeastarcloud.com

Response example

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