PUT
/
v1
/
incident_role_tasks
/
{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": "177fc99f-6abf-4f53-bf64-51f442d75a2c",
    "type": "incident_role_tasks",
    "attributes": {
      "incident_role_id": "b233f5b7-f95f-4b52-ad48-242bba084945",
      "task": "Task updated",
      "description": "Task description updated",
      "priority": "medium",
      "created_at": "2025-04-18T09:49:48.001-07:00",
      "updated_at": "2025-04-18T09:49:49.469-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

200
application/vnd.api+json
incident_role_task updated
data
object
required