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": "7fce3b34-d134-4f8f-b998-96c715a186d4",
    "type": "incident_sub_statuses",
    "attributes": {
      "sub_status_id": "2849237b-8ae7-4a09-9127-016d5f2da944",
      "incident_id": "a88be783-5ea7-4ce9-98de-398e7973202d",
      "assigned_at": "2025-04-18T09:50:04.000-07:00",
      "assigned_by_user_id": 287
    },
    "relationships": {
      "sub_status": {
        "data": {
          "id": "2849237b-8ae7-4a09-9127-016d5f2da944",
          "type": "sub_statuses"
        }
      },
      "assigned_by_user": {
        "data": {
          "id": "287",
          "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
data
object
required

Response

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