Delete a specific workflow task by id
curl --request DELETE \
--url https://api.rootly.com/v1/workflow_tasks/{id} \
--header 'Authorization: Bearer <token>'
{
"data": {
"id": "ee6d7828-bc6b-467b-9a69-9d58ca577a85",
"type": "workflow_tasks",
"attributes": {
"workflow_id": "bc264f08-73eb-4198-934f-1a0292cf9c0a",
"task_params": {
"task_type": "send_email",
"from": "Rootly <workflows@rootly.com>",
"to": [
"delectus"
],
"cc": [],
"bcc": [],
"subject": "Quas impedit laudantium omnis.",
"preheader": null,
"body": "Dolorem voluptatibus esse dicta.",
"include_header": true,
"include_footer": true,
"custom_logo_url": null
},
"name": "Send an email",
"position": 1,
"skip_on_failure": false,
"enabled": true,
"created_at": "2025-07-20T00:38:34.001-07:00",
"updated_at": "2025-07-20T00:38:35.844-07:00"
}
}
}
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
workflow_task deleted
The response is of type object
.
curl --request DELETE \
--url https://api.rootly.com/v1/workflow_tasks/{id} \
--header 'Authorization: Bearer <token>'
{
"data": {
"id": "ee6d7828-bc6b-467b-9a69-9d58ca577a85",
"type": "workflow_tasks",
"attributes": {
"workflow_id": "bc264f08-73eb-4198-934f-1a0292cf9c0a",
"task_params": {
"task_type": "send_email",
"from": "Rootly <workflows@rootly.com>",
"to": [
"delectus"
],
"cc": [],
"bcc": [],
"subject": "Quas impedit laudantium omnis.",
"preheader": null,
"body": "Dolorem voluptatibus esse dicta.",
"include_header": true,
"include_footer": true,
"custom_logo_url": null
},
"name": "Send an email",
"position": 1,
"skip_on_failure": false,
"enabled": true,
"created_at": "2025-07-20T00:38:34.001-07:00",
"updated_at": "2025-07-20T00:38:35.844-07:00"
}
}
}