Skip to main content
PUT
Update maintenance mode

Authorizations

Authorization
string
header
required

API key authentication. Pass your API key as a Bearer token in the Authorization header.

Path Parameters

id
string<uuid>
required

Application identifier

Pattern: ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$
Example:

"fb5e5168-4281-4bec-94c5-0d1584e9e657"

Body

application/json
is_enabled
boolean
required

Whether maintenance mode should be active. When true, every request to every domain of the application receives the maintenance page with status 503. The application keeps running and can still be deployed while in maintenance mode.

Example:

true

page_url
string | null

HTTPS URL of a page to serve as the maintenance page, for example a Sevalla static site. The edge fetches the page body and serves it on every domain of the application with status 503, so visitors never see this URL. When null the default Sevalla maintenance page is served. Content changes on the page take up to 60 seconds to show. Must start with https:// and be at most 2048 characters. This is a full replace: when omitted or null, any previously set page URL is cleared and the default page is served.

Maximum string length: 2048
Example:

"https://status.example.com"

Response

Default Response

is_enabled
boolean
required

Whether maintenance mode is currently active. When true, every request to every domain of the application receives the maintenance page with status 503 instead of reaching the application.

Example:

false

page_url
string | null
required

HTTPS URL of a page to serve as the maintenance page, for example a Sevalla static site. The edge fetches the page body and serves it on every domain of the application with status 503, so visitors never see this URL. When null the default Sevalla maintenance page is served. Content changes on the page take up to 60 seconds to show.

Example:

"https://status.example.com"