Skip to main content

Delete Task

This request deletes a batch task, targeted by secure ID.

delete /batch/tasks/{task_sid}

Sample

A sample DELETE request to delete a batch task, targeted by secure ID:

curl -X DELETE \
'https://api.carrierx.com/core/v2/batch/tasks/2630eb9b-55c2-4e29-9217-ed133e2f22d6' \
-H 'Authorization: Bearer 5ebc03d6-8b2b-44ad-bf65-72d4f1491dda'

Response

204 status code with an empty body.

Required Scopes

To delete a Task object, the partner must have one of the following scopes enabled:

  • batch.manage
  • batch.delete

Path Arguments

ParameterData TypeDescription
task_sid requiredstringThe secure ID of the batch task to be removed.