Skip to main content
PUT
Update a stack

Authorizations

Authorization
string
header
required

StatusStack authenticates requests with API keys, created via the dashboard with granular permissions (read, write, delete, admin, *).

API keys support version compatibility:

  • v1 keys: Can only access v1 endpoints
  • v2 keys: Can access both v1 and v2 endpoints

Available permissions:

  • read: View resources (GET requests)
  • write: Create and update resources (POST, PUT requests)
  • delete: Delete resources (DELETE requests)
  • admin: Administrative access to all resources
  • *: Wildcard permission (all actions allowed)

Path Parameters

stack_id
string<uuid>
required

Body

application/json

Every field is optional, and omitting one leaves it unchanged. The fields that are absent from this schema but present on create (sources, components) are not accepted here — attach and detach through the subresource endpoints instead.

name
string
Maximum string length: 255
slug
string

Not nullable on update; omit the key to leave the slug unchanged.

Maximum string length: 255
description
string | null
Maximum string length: 1000
stack_type
enum<string>

status_page is accepted only when it is already this stack's type. Every other value must be one of StackTypeSelectable.

Available options:
application,
tech,
business,
custom,
status_page
visibility
enum<string>

Who may view the stack's public page. password requires a password on the create/update request.

Available options:
public,
private,
password,
unlisted
password
string | null

Access password for a password-visibility stack.

Required string length: 8 - 255
parent_stack_id
string<uuid> | null

Must belong to the same team, and may not be the stack itself.

custom_logo_url
string<uri> | null
Maximum string length: 500
theme
enum<string>
default:auto

Not nullable on update. Omit the key to leave it unchanged.

Available options:
auto,
light,
dark
layout
enum<string>
default:grid

Not nullable on update. Omit the key to leave it unchanged.

Available options:
grid,
list,
compact
refresh_interval
integer
default:30

Not nullable on update. Omit the key to leave it unchanged.

Required range: 10 <= x <= 300
metadata
object | null
settings
object | null

Free-form stack settings. The public status page contact methods are validated keys; anything else is passed through.

Response

Stack updated

id
string<uuid>
name
string
slug
string
description
string | null
stack_type
enum<string>

What the stack groups together, as stored. status_page is legacy: it is never selectable on create, and on update it is accepted only when it is already the stack's current type.

Available options:
application,
tech,
business,
custom,
status_page
visibility
enum<string>

Who may view the stack's public page. password requires a password on the create/update request.

Available options:
public,
private,
password,
unlisted
public_url
string<uri> | null
theme
enum<string>
default:auto

Colour scheme of the public page. auto follows the viewer's system preference.

Available options:
auto,
light,
dark
layout
enum<string>
default:grid

How components are arranged on the public page.

Available options:
grid,
list,
compact
custom_logo_url
string<uri> | null
refresh_interval
integer
default:30

How often the public page auto-refreshes, in seconds.

Required range: 10 <= x <= 300
show_timestamps
boolean
show_component_names
boolean
show_incident_history
boolean
incident_history_days
integer | null
metadata
object | null
settings
object | null
view_count
integer
subscriber_count
integer
health_percentage
number<float>

Only present on responses that computed it, such as /v1/stacks/{stack_id}/health.

sources_count
integer

Present on list responses and on create/update, which load counts rather than full relationships.

components_count
integer
active_subscribers_count
integer
team_id
string<uuid>
parent_stack_id
string<uuid> | null
created_at
string<date-time>
updated_at
string<date-time>
deleted_at
string<date-time> | null
team
object

The owning team. Included only for a viewer who may update the stack, so an unauthorised viewer never sees it.

parent_stack
any
child_stacks
array
sources
object[]
components
object[]