Delete task

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

TODO: Resource-level docs

Headers

  • 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.

Path parameters

  • WorkspaceSid string Required

    The SID of the Workspace with the Task to delete.

  • Sid string Required

    The SID of the Task resource to delete.

Responses

  • The resource was deleted successfully.

DELETE /v1/Workspaces/{WorkspaceSid}/Tasks/{Sid}
curl \
 -X DELETE https://taskrouter.twilio.com/v1/Workspaces/{WorkspaceSid}/Tasks/{Sid} \
 --user "username:password" \
 -H "If-Match: string"