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": "272e3424-1e01-407f-8f04-e8e99bbb087e",
"type": "workflow_tasks",
"attributes": {
"workflow_id": "e16fc938-7022-412a-91c3-cd206980ce1d",
"task_params": {
"task_type": "send_email",
"from": "Rootly <workflows@rootly.com>",
"to": [
"nihil"
],
"cc": [],
"bcc": [],
"subject": "Doloremque sit ab non.",
"preheader": null,
"body": "Ut sint alias nihil.",
"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-08-08T21:50:13.030-07:00",
"updated_at": "2025-08-08T21:50:14.259-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": "272e3424-1e01-407f-8f04-e8e99bbb087e",
"type": "workflow_tasks",
"attributes": {
"workflow_id": "e16fc938-7022-412a-91c3-cd206980ce1d",
"task_params": {
"task_type": "send_email",
"from": "Rootly <workflows@rootly.com>",
"to": [
"nihil"
],
"cc": [],
"bcc": [],
"subject": "Doloremque sit ab non.",
"preheader": null,
"body": "Ut sint alias nihil.",
"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-08-08T21:50:13.030-07:00",
"updated_at": "2025-08-08T21:50:14.259-07:00"
}
}
}