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": "46ac6360-6256-4fb7-8b8b-661916868a49",
    "type": "sub_statuses",
    "attributes": {
      "name": "tnuoh",
      "description": "Updated description",
      "slug": "tnuoh",
      "parent_status": "started",
      "position": 3,
      "deleted_at": null,
      "updated_at": "2025-04-18T09:53:32.840-07:00",
      "created_at": "2025-04-18T09:53:29.770-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