REST reference
Maintenance
curl -X GET "https://example.com/admin/maintenance"{ "level": "string", "since": "string", "reason": "string"}POST
/admin/maintenanceQuery Parameters
on?boolean
reason?string
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
curl -X POST "https://example.com/admin/maintenance" \ -H "Content-Type: application/json" \ -d '{ "on": true }'{ "level": "string", "since": "string", "reason": "string"}