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": "203ec83a-6885-4e31-8d87-4c2677f08557",
    "type": "incident_sub_statuses",
    "attributes": {
      "sub_status_id": "b7bacea2-8759-4f0f-b047-45dafad0c074",
      "incident_id": "0ba4563f-011d-4447-969b-40969707d9ce",
      "assigned_at": "2025-03-19T07:52:42.000-07:00",
      "assigned_by_user_id": 307
    },
    "relationships": {
      "sub_status": {
        "data": {
          "id": "b7bacea2-8759-4f0f-b047-45dafad0c074",
          "type": "sub_statuses"
        }
      },
      "assigned_by_user": {
        "data": {
          "id": "307",
          "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