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": "e6b585b2-6361-42c1-8961-3fcbb7300650",
"type": "incident_role_tasks",
"attributes": {
"incident_role_id": "2c293a32-a552-4f4d-a939-6d5cb4d53eb7",
"task": "Task updated",
"description": "Task description updated",
"priority": "medium",
"created_at": "2025-07-23T05:30:28.122-07:00",
"updated_at": "2025-07-23T05:30:29.790-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": "e6b585b2-6361-42c1-8961-3fcbb7300650",
"type": "incident_role_tasks",
"attributes": {
"incident_role_id": "2c293a32-a552-4f4d-a939-6d5cb4d53eb7",
"task": "Task updated",
"description": "Task description updated",
"priority": "medium",
"created_at": "2025-07-23T05:30:28.122-07:00",
"updated_at": "2025-07-23T05:30:29.790-07:00"
}
}
}