Skip to Content
SeyloDocs
API referenceMaintenance pages

Set the global maintenance page

POST
/api/v1/maintenance.setGlobal

Turns panel-wide maintenance mode on or off and sets the global page and message. Fields left out keep their value; html null goes back to the built-in page. The Panel project is never put in maintenance.

Needs settings.edit, which owners and admins hold. Available to MCP clients and the assistant.

Authorization

cookieseylo_session<token>

Request Body

application/json
  1. body
enabled?boolean
message?string

Short text shown on the default page.

Lengthlength <= 500
html?|null

Response Body

Success.

application/json
  1. response
enabled*boolean
message*string
html*|null
updatedAt*|null
Example Request
curl -X POST 'https://example.com/api/v1/maintenance.setGlobal' \  -H 'Content-Type: application/json' \  -d '{}'
Example Response
{  "enabled": true,  "message": "string",  "html": "string",  "updatedAt": "2019-08-24T14:15:22Z"}