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": "97deb5fd-cba7-495d-bded-3e26ad5717ab",
    "type": "sub_statuses",
    "attributes": {
      "name": "9lz97",
      "description": "Updated description",
      "slug": "9lz97",
      "parent_status": "started",
      "position": 3,
      "deleted_at": null,
      "updated_at": "2025-03-20T17:55:09.488-07:00",
      "created_at": "2025-03-20T17:55:06.264-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
data
object
required

Response

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

Was this page helpful?