PUT
/
v1
/
sub_statuses
/
{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": "8277acc6-eb29-49f9-8e03-f334c966ad14",
    "type": "sub_statuses",
    "attributes": {
      "name": "5fzkl",
      "description": "Updated description",
      "slug": "5fzkl",
      "parent_status": "started",
      "position": 3,
      "deleted_at": null,
      "updated_at": "2025-07-03T18:37:34.053-07:00",
      "created_at": "2025-07-03T18:37:31.041-07:00"
    }
  }
}

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

sub_status updated

The response is of type object.