DELETE
/
v1
/
workflow_tasks
/
{id}
curl --request DELETE \
  --url https://api.rootly.com/v1/workflow_tasks/{id} \
  --header 'Authorization: Bearer <token>'
{
  "data": {
    "id": "10b125be-2890-432e-b3ac-ce4ab741c2a1",
    "type": "workflow_tasks",
    "attributes": {
      "workflow_id": "306d194e-09d6-4ed6-a937-795dda4bfd6d",
      "task_params": {
        "task_type": "send_email",
        "from": "Rootly <workflows@rootly.com>",
        "to": [
          "et"
        ],
        "cc": [],
        "bcc": [],
        "subject": "Sed et deserunt officiis.",
        "preheader": null,
        "body": "A velit maiores quam.",
        "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-03-22T23:00:12.177-07:00",
      "updated_at": "2025-03-22T23:00:14.414-07:00"
    }
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

id
string
required

Response

200
application/vnd.api+json
workflow_task deleted
data
object
required