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": "b885f4fa-0798-465e-84fc-fb60aa32d560",
    "type": "incident_role_tasks",
    "attributes": {
      "incident_role_id": "14eb15c9-9f80-42d1-bb52-6ac3f3724d04",
      "task": "Task updated",
      "description": "Task description updated",
      "priority": "medium",
      "created_at": "2025-03-28T23:02:22.701-07:00",
      "updated_at": "2025-03-28T23:02:24.065-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