PUT
/
v1
/
workflow_tasks
/
{id}
Update a workflow task
curl --request PUT \
  --url https://api.rootly.com/v1/workflow_tasks/{id} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/vnd.api+json' \
  --data '{
  "data": {
    "type": "workflow_tasks",
    "attributes": {
      "name": "<string>",
      "position": 123,
      "skip_on_failure": true,
      "enabled": true,
      "task_params": "<any>"
    }
  }
}'
{
  "data": {
    "id": "5dd41b52-0256-4833-8fc9-80fcb376b759",
    "type": "workflow_tasks",
    "attributes": {
      "workflow_id": "4cb5ab3d-13d8-450b-9c46-36157eabe55d",
      "task_params": {
        "task_type": "send_email",
        "from": "Rootly <workflows@rootly.com>",
        "to": [
          "eos"
        ],
        "cc": [],
        "bcc": [],
        "subject": "Quo ex voluptatem ut.",
        "preheader": null,
        "body": "updated",
        "include_header": true,
        "include_footer": true,
        "custom_logo_url": null
      },
      "name": "Another name",
      "position": 2,
      "skip_on_failure": true,
      "enabled": false,
      "created_at": "2025-09-15T14:59:43.064-07:00",
      "updated_at": "2025-09-15T14:59:44.169-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

Body

application/vnd.api+json
data
object
required

Response

workflow_task updated

data
object
required