68 lines
1.5 KiB
Markdown
68 lines
1.5 KiB
Markdown
[Skip to content](https://coolify.io/docs/api-reference/api/operations/disable-api#VPContent)
|
||
|
||
Return to top
|
||
|
||
Disable API[](https://coolify.io/docs/api-reference/api/operations/disable-api#disable-api)
|
||
|
||
=============================================================================================
|
||
|
||
GET
|
||
|
||
/disable
|
||
|
||
Disable API (only with root permissions).
|
||
|
||
Authorizations[](https://coolify.io/docs/api-reference/api/operations/disable-api#authorizations)
|
||
|
||
---------------------------------------------------------------------------------------------------
|
||
|
||
bearerAuth
|
||
|
||
Go to `Keys & Tokens` / `API tokens` and create a new token. Use the token as the bearer token.
|
||
|
||
Type
|
||
|
||
HTTP (bearer)
|
||
|
||
Responses[](https://coolify.io/docs/api-reference/api/operations/disable-api#responses)
|
||
|
||
-----------------------------------------------------------------------------------------
|
||
|
||
200400401403
|
||
|
||
Disable API.
|
||
|
||
Content-Type
|
||
|
||
application/json
|
||
|
||
SchemaJSON
|
||
|
||
JSON
|
||
|
||
{
|
||
|
||
"message": "API disabled."
|
||
|
||
}
|
||
|
||
GET
|
||
|
||
/disable
|
||
|
||
Playground[](https://coolify.io/docs/api-reference/api/operations/disable-api#playground)
|
||
|
||
-------------------------------------------------------------------------------------------
|
||
|
||
Authorization
|
||
|
||
bearerAuth
|
||
|
||
Try it out
|
||
|
||
Samples[](https://coolify.io/docs/api-reference/api/operations/disable-api#samples)
|
||
|
||
-------------------------------------------------------------------------------------
|
||
|
||
Powered by [VitePress OpenAPI](https://github.com/enzonotario/vitepress-openapi)
|