Skip to main content

Get maintenance mode status

GET 

<your-unleash-url>/api/admin/maintenance

Tells you whether maintenance mode is enabled or disabled

Responses

maintenanceSchema
Schema
    enabled booleanrequired

    Whether maintenance mode is enabled or not.

    Example: true

Authorization: Authorization

name: Authorizationtype: apiKeyin: headerdescription: API key needed to access this API
curl -L '<your-unleash-url>/api/admin/maintenance' \
-H 'Accept: application/json' \
-H 'Authorization: <API_KEY_VALUE>'
Request Collapse all
Base URL
<your-unleash-url>
Auth
ResponseClear

Click the Send API Request button above and see the response here!