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": "a1506add-0f98-48bb-95df-9471309ca6b9",
"type": "workflow_tasks",
"attributes": {
"workflow_id": "2aa3f1de-4b7d-4d73-b89b-cfc1de8a0075",
"task_params": {
"task_type": "send_email",
"from": "Rootly <workflows@rootly.com>",
"to": [
"ipsum"
],
"cc": [],
"bcc": [],
"subject": "Temporibus velit neque fuga.",
"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-18T10:26:05.749-07:00",
"updated_at": "2025-10-18T10:26:06.579-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": "a1506add-0f98-48bb-95df-9471309ca6b9",
"type": "workflow_tasks",
"attributes": {
"workflow_id": "2aa3f1de-4b7d-4d73-b89b-cfc1de8a0075",
"task_params": {
"task_type": "send_email",
"from": "Rootly <workflows@rootly.com>",
"to": [
"ipsum"
],
"cc": [],
"bcc": [],
"subject": "Temporibus velit neque fuga.",
"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-18T10:26:05.749-07:00",
"updated_at": "2025-10-18T10:26:06.579-07:00"
}
}
}