Update a specific Sub-Status by id
curl --request PUT \
--url https://api.rootly.com/v1/sub_statuses/{id} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/vnd.api+json' \
--data '{
"data": {
"type": "sub_statuses",
"attributes": {
"name": "<string>",
"slug": "<string>",
"description": "<string>",
"position": 123
}
}
}'
{
"data": {
"id": "db426c3c-cdd4-462c-b61a-d6ac2c5c8e1e",
"type": "sub_statuses",
"attributes": {
"name": "cy3j2",
"description": "Updated description",
"slug": "cy3j2",
"parent_status": "started",
"position": 3,
"deleted_at": null,
"updated_at": "2025-07-24T00:13:29.421-07:00",
"created_at": "2025-07-24T00:13:26.822-07:00"
}
}
}
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
sub_status updated
The response is of type object
.
Was this page helpful?
curl --request PUT \
--url https://api.rootly.com/v1/sub_statuses/{id} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/vnd.api+json' \
--data '{
"data": {
"type": "sub_statuses",
"attributes": {
"name": "<string>",
"slug": "<string>",
"description": "<string>",
"position": 123
}
}
}'
{
"data": {
"id": "db426c3c-cdd4-462c-b61a-d6ac2c5c8e1e",
"type": "sub_statuses",
"attributes": {
"name": "cy3j2",
"description": "Updated description",
"slug": "cy3j2",
"parent_status": "started",
"position": 3,
"deleted_at": null,
"updated_at": "2025-07-24T00:13:29.421-07:00",
"created_at": "2025-07-24T00:13:26.822-07:00"
}
}
}