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": "ea307d7a-cf96-4288-8da6-46ffb9b84594",
"type": "workflow_tasks",
"attributes": {
"workflow_id": "d0ee9296-3346-46f0-881d-6bca7b40a61c",
"task_params": {
"task_type": "send_email",
"from": "Rootly <workflows@rootly.com>",
"to": [
"asperiores"
],
"cc": [],
"bcc": [],
"subject": "Ea ea pariatur nihil.",
"preheader": null,
"body": "In vel praesentium suscipit.",
"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-30T13:47:51.917-07:00",
"updated_at": "2025-08-30T13:47:53.098-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": "ea307d7a-cf96-4288-8da6-46ffb9b84594",
"type": "workflow_tasks",
"attributes": {
"workflow_id": "d0ee9296-3346-46f0-881d-6bca7b40a61c",
"task_params": {
"task_type": "send_email",
"from": "Rootly <workflows@rootly.com>",
"to": [
"asperiores"
],
"cc": [],
"bcc": [],
"subject": "Ea ea pariatur nihil.",
"preheader": null,
"body": "In vel praesentium suscipit.",
"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-30T13:47:51.917-07:00",
"updated_at": "2025-08-30T13:47:53.098-07:00"
}
}
}