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": "c44330a9-7f57-4cf8-ac45-9de0e03f210e",
    "type": "incident_role_tasks",
    "attributes": {
      "incident_role_id": "6f5f8233-4d7e-49c5-960e-bbaa1b5ae08b",
      "task": "Task updated",
      "description": "Task description updated",
      "priority": "medium",
      "created_at": "2025-05-29T17:45:24.612-07:00",
      "updated_at": "2025-05-29T17:45:26.015-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

Response

200
application/vnd.api+json

incident_role_task updated

The response is of type object.