v1

latestOpenAPI 3.1.0raw.githubusercontent.com2026-06-19273210655.1 KB
Integrations

Create Laravel Maintenance integration

Enable maintenance mode for the site.

Processing mode: <small><code>async</code></small>

post/orgs/{organization}/servers/{server}/sites/{site}/integrations/laravel-maintenance

Path parameters

organizationstring required

The organization slug

serverinteger required

The server ID

siteinteger required

The site ID

Request body

secretstring nullable

The secret phrase that allows access to the application while in maintenance mode.

status304 | 307 | 410 | 503 required
redirectstring nullable

The redirect URL to which all requests should be sent while in maintenance mode.

Example request

{
  "secret": "my-secret-phrase",
  "redirect": "https://example.com/maintenance"
}