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
The response is of type object.
object