DELETE

Cancels a task request. You can cancel a task request only when the contact state is "Unread" or "Queued".

After the DELETE request is successfully processed (response code 200 is received by the application), the application cannot use GET to poll for the status of the contact. You can use the Social Contact GET API to poll the status of the social contact. See GET.

Note

The customer will receive an error if the cancellation request is sent after an agent is already selected.

URL:

https://<server>:<port>/ccp/rest/task/contact/<id>

HTTPS method:

DELETE

Example request XML payload:

None

Response codes:

200 OK

400 Bad Request

404 Not Found

See HTTPS Responses for more information about the response codes.