TaskrouterTask

Delete Task

DELETE
/v1/Workspaces/{WorkspaceSid}/Tasks/{Sid}

Authorization

accountSid_authToken
AuthorizationBasic <token>

In: header

Path Parameters

WorkspaceSid*string

The SID of the Workspace with the Task to delete.

Match^WS[0-9a-fA-F]{32}$
Length34 <= length <= 34
Sid*string

The SID of the Task resource to delete.

Match^WT[0-9a-fA-F]{32}$
Length34 <= length <= 34

Header Parameters

If-Match?string

If provided, deletes this Task if (and only if) the ETag header of the Task matches the provided value. This matches the semantics of (and is implemented with) the HTTP If-Match header.

Response Body

curl -X DELETE "https://example.com/v1/Workspaces/stringstringstringstringstringstri/Tasks/stringstringstringstringstringstri"
Empty