Skip to main content
POST
Toggle maintenance mode

Authorizations

Authorization
string
header
required

All API requests must include a valid Bearer token in the Authorization header. Tokens are 64-character SHA-256 session hashes issued by the PropOps authentication system.

Example:

Body

application/json
csrf_token
string
required
Example:

"abc123def456"

action
enum<string>
Available options:
enable,
disable
enabled
boolean
reason
string | null
Example:

"Scheduled database migration in progress."

Response

Maintenance mode updated

success
boolean
Example:

true

message
string
Example:

"Operation completed successfully"