---
title: "POST /authorization/maintenance"
method: POST
path: "/authorization/maintenance"
tags: ["Authorization"]
---

# POST /authorization/maintenance

`POST /authorization/maintenance`

Sets whether or not maintenance mode is enabled

This endpoint requires the permission "authorization.maintenance.write".

## Query parameters

- `enabled` boolean, required

## Headers

- `Authorization` string, required
- `SplinterProtocolVersion` integer

## Response `200`

Successfully checked maintenance mode

## Other responses

- `400` — Request was malformed
- `401` — The client is unauthorized

---

[API](https://skmtc.dev/cargill/apis/splinterd-api.md) · [All operations](https://skmtc.dev/cargill/apis/splinterd-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/cargill/splinterd-api/revisions/38a272c24bd9/schema)
