Skip to main content

Enabled/disabled maintenance mode

POST 

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

Lets administrators put Unleash into a mostly read-only mode. While Unleash is in maintenance mode, users can not change any configuration settings

Request

Responses

This response has no body.

Authorization: Authorization

name: Authorizationtype: apiKeyin: headerdescription: API key needed to access this API
curl -L '<your-unleash-url>/api/admin/maintenance' \
-H 'Content-Type: application/json' \
-H 'Authorization: <API_KEY_VALUE>' \
-d '{
"enabled": true
}'
Request Collapse all
Base URL
<your-unleash-url>
Auth
Body required
{
  "enabled": true
}
ResponseClear

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