Update a specific incident_sub_status by 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": "2b8fa011-0794-4149-839f-1a4228de0ca1",
"type": "incident_sub_statuses",
"attributes": {
"sub_status_id": "6b40f9f8-a46d-4f0b-9d92-7173af6fcd5f",
"incident_id": "37207c6e-9a0e-4196-b803-59c591456bb4",
"assigned_at": "2025-07-21T23:20:00.000-07:00",
"assigned_by_user_id": 297
},
"relationships": {
"sub_status": {
"data": {
"id": "6b40f9f8-a46d-4f0b-9d92-7173af6fcd5f",
"type": "sub_statuses"
}
},
"assigned_by_user": {
"data": {
"id": "297",
"type": "users"
}
}
}
}
}
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
incident_sub_status updated
The response is of type object
.
Was this page helpful?
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": "2b8fa011-0794-4149-839f-1a4228de0ca1",
"type": "incident_sub_statuses",
"attributes": {
"sub_status_id": "6b40f9f8-a46d-4f0b-9d92-7173af6fcd5f",
"incident_id": "37207c6e-9a0e-4196-b803-59c591456bb4",
"assigned_at": "2025-07-21T23:20:00.000-07:00",
"assigned_by_user_id": 297
},
"relationships": {
"sub_status": {
"data": {
"id": "6b40f9f8-a46d-4f0b-9d92-7173af6fcd5f",
"type": "sub_statuses"
}
},
"assigned_by_user": {
"data": {
"id": "297",
"type": "users"
}
}
}
}
}