Request server restart with Docker orchestration
POST/api/infra/restart
Request server restart with Docker orchestration
Request
Responses
- 200
- 400
- 401
- 403
- 409
Server will restart with new profiles
The body is malformed, fails validation, or carries a field the DTO does not declare
The API key is missing, unknown, revoked, or expired
The API key's role, session or chat scope, or IP allow-list does not allow this operation
Not restarted. code: RESTART_DATABASE_NOT_STARTED: a request that starts the built-in PostgreSQL could not start its container, so the next start could not connect to it; nothing was stopped, and a configuration saved since this server started is put back to the one it runs (message says which and carries the error). code: RESTART_ALREADY_RUNNING: another restart request is still running, or the server is already restarting.