cURL
curl --request GET \ --url https://app.coolify.io/api/v1/disable \ --header 'Authorization: Bearer <token>'
{ "message": "API disabled." }
Disable API (only with root permissions).
Go to Keys & Tokens / API tokens and create a new token. Use the token as the bearer token.
Keys & Tokens
API tokens
Disable API.
The response is of type object.
object