Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Path Parameters
Body
application/vnd.api+json
Response
workflow_task updated
Update a specific workflow task by id
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": "3ae5688e-cd5c-4109-a9ee-71a700870a7b",
"type": "workflow_tasks",
"attributes": {
"workflow_id": "09e6b32a-5651-4817-8d6b-9b0a51b5ad3f",
"task_params": {
"task_type": "send_email",
"from": "Rootly <workflows@rootly.com>",
"to": [
"ratione"
],
"cc": [],
"bcc": [],
"subject": "Laborum quae error voluptas.",
"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-10-06T09:28:01.326-07:00",
"updated_at": "2025-10-06T09:28:02.213-07:00"
}
}
}
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Show child attributes
workflow_task updated
Show child attributes
Was this page helpful?
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": "3ae5688e-cd5c-4109-a9ee-71a700870a7b",
"type": "workflow_tasks",
"attributes": {
"workflow_id": "09e6b32a-5651-4817-8d6b-9b0a51b5ad3f",
"task_params": {
"task_type": "send_email",
"from": "Rootly <workflows@rootly.com>",
"to": [
"ratione"
],
"cc": [],
"bcc": [],
"subject": "Laborum quae error voluptas.",
"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-10-06T09:28:01.326-07:00",
"updated_at": "2025-10-06T09:28:02.213-07:00"
}
}
}