Update a specific incident_role task by id
curl --request PUT \
--url https://api.rootly.com/v1/incident_role_tasks/{id} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/vnd.api+json' \
--data '{
"data": {
"type": "incident_role_tasks",
"attributes": {
"task": "<string>",
"description": "<string>",
"priority": "high"
}
}
}'
{
"data": {
"id": "0e036ee7-4c84-438b-83bf-3d8b582726c9",
"type": "incident_role_tasks",
"attributes": {
"incident_role_id": "90d938bf-b30b-414d-880f-2e3038f757a5",
"task": "Task updated",
"description": "Task description updated",
"priority": "medium",
"created_at": "2025-08-12T10:48:59.076-07:00",
"updated_at": "2025-08-12T10:48:59.934-07:00"
}
}
}
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
incident_role_task updated
The response is of type object
.
Was this page helpful?
curl --request PUT \
--url https://api.rootly.com/v1/incident_role_tasks/{id} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/vnd.api+json' \
--data '{
"data": {
"type": "incident_role_tasks",
"attributes": {
"task": "<string>",
"description": "<string>",
"priority": "high"
}
}
}'
{
"data": {
"id": "0e036ee7-4c84-438b-83bf-3d8b582726c9",
"type": "incident_role_tasks",
"attributes": {
"incident_role_id": "90d938bf-b30b-414d-880f-2e3038f757a5",
"task": "Task updated",
"description": "Task description updated",
"priority": "medium",
"created_at": "2025-08-12T10:48:59.076-07:00",
"updated_at": "2025-08-12T10:48:59.934-07:00"
}
}
}