PUT
/
v1
/
incident_sub_statuses
/
{id}
curl --request PUT \
  --url https://api.rootly.com/v1/incident_sub_statuses/{id} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/vnd.api+json' \
  --data '{
  "data": {
    "type": "incident_sub_statuses",
    "attributes": {
      "sub_status_id": "<string>",
      "assigned_at": "<string>",
      "assigned_by_user_id": 123
    }
  }
}'
{
  "data": {
    "id": "12ef48a2-89f5-40d5-a594-fc39f07fbf7d",
    "type": "incident_sub_statuses",
    "attributes": {
      "sub_status_id": "7475a235-077b-4ddf-8df9-946ded83241f",
      "incident_id": "665d8dd3-fd9e-430a-b3d9-b5c6b65d0a1d",
      "assigned_at": "2025-06-20T11:34:03.000-07:00",
      "assigned_by_user_id": 296
    },
    "relationships": {
      "sub_status": {
        "data": {
          "id": "7475a235-077b-4ddf-8df9-946ded83241f",
          "type": "sub_statuses"
        }
      },
      "assigned_by_user": {
        "data": {
          "id": "296",
          "type": "users"
        }
      }
    }
  }
}

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_sub_status updated

The response is of type object.