cURL
curl --request POST \ --url https://whilter-api-host/image/task/cancel/{taskId} \ --header 'Authorization: Bearer <token>'
{ "client-id": "<string>", "campaign-id": "<string>", "template-id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "task-id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "message": "Task cancelled successfully" }
Cancels an existing task by its ID
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
The unique identifier of the task to cancel
Task cancelled successfully
Client ID provided during vendor onboarding
Identifier for the campaign
Unique identifier for the template to use
Unique identifier for the created task
Response message
"Task cancelled successfully"