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": "f686ea19-a90a-4276-b176-f57751ab1953",
    "type": "incident_role_tasks",
    "attributes": {
      "incident_role_id": "835259e5-5ab1-4fdb-9d5c-125c816a4253",
      "task": "Task updated",
      "description": "Task description updated",
      "priority": "medium",
      "created_at": "2025-03-19T07:52:26.988-07:00",
      "updated_at": "2025-03-19T07:52:28.358-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