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": "851d7705-6a9a-42fd-83ef-411eb4804277",
    "type": "sub_statuses",
    "attributes": {
      "name": "yb86e",
      "description": "Updated description",
      "slug": "yb86e",
      "parent_status": "started",
      "position": 3,
      "deleted_at": null,
      "updated_at": "2025-03-28T23:05:50.940-07:00",
      "created_at": "2025-03-28T23:05:47.679-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