150 lines
2.3 KiB
Markdown
150 lines
2.3 KiB
Markdown
[Skip to content](https://coolify.io/docs/api-reference/api/operations/delete-database-by-uuid#VPContent)
|
||
|
||
Return to top
|
||
|
||
Delete[](https://coolify.io/docs/api-reference/api/operations/delete-database-by-uuid#delete)
|
||
|
||
===============================================================================================
|
||
|
||
DELETE
|
||
|
||
/databases/{uuid}
|
||
|
||
Delete database by UUID.
|
||
|
||
Authorizations[](https://coolify.io/docs/api-reference/api/operations/delete-database-by-uuid#authorizations)
|
||
|
||
---------------------------------------------------------------------------------------------------------------
|
||
|
||
bearerAuth
|
||
|
||
Go to `Keys & Tokens` / `API tokens` and create a new token. Use the token as the bearer token.
|
||
|
||
Type
|
||
|
||
HTTP (bearer)
|
||
|
||
Parameters[](https://coolify.io/docs/api-reference/api/operations/delete-database-by-uuid#parameters)
|
||
|
||
-------------------------------------------------------------------------------------------------------
|
||
|
||
### Path Parameters
|
||
|
||
uuid\*
|
||
|
||
UUID of the database.
|
||
|
||
Type
|
||
|
||
string
|
||
|
||
Required
|
||
|
||
### Query Parameters
|
||
|
||
delete\_configurations
|
||
|
||
Delete configurations.
|
||
|
||
Type
|
||
|
||
boolean
|
||
|
||
Default
|
||
|
||
`true`
|
||
|
||
delete\_volumes
|
||
|
||
Delete volumes.
|
||
|
||
Type
|
||
|
||
boolean
|
||
|
||
Default
|
||
|
||
`true`
|
||
|
||
docker\_cleanup
|
||
|
||
Run docker cleanup.
|
||
|
||
Type
|
||
|
||
boolean
|
||
|
||
Default
|
||
|
||
`true`
|
||
|
||
delete\_connected\_networks
|
||
|
||
Delete connected networks.
|
||
|
||
Type
|
||
|
||
boolean
|
||
|
||
Default
|
||
|
||
`true`
|
||
|
||
Responses[](https://coolify.io/docs/api-reference/api/operations/delete-database-by-uuid#responses)
|
||
|
||
-----------------------------------------------------------------------------------------------------
|
||
|
||
200400401404
|
||
|
||
Database deleted.
|
||
|
||
Content-Type
|
||
|
||
application/json
|
||
|
||
SchemaJSON
|
||
|
||
JSON
|
||
|
||
{
|
||
|
||
"message": "Database deleted."
|
||
|
||
}
|
||
|
||
DELETE
|
||
|
||
/databases/{uuid}
|
||
|
||
Playground[](https://coolify.io/docs/api-reference/api/operations/delete-database-by-uuid#playground)
|
||
|
||
-------------------------------------------------------------------------------------------------------
|
||
|
||
Authorization
|
||
|
||
bearerAuth
|
||
|
||
Variables
|
||
|
||
Key
|
||
|
||
Value
|
||
|
||
uuid\*
|
||
|
||
delete\_configurations
|
||
|
||
delete\_volumes
|
||
|
||
docker\_cleanup
|
||
|
||
delete\_connected\_networks
|
||
|
||
Try it out
|
||
|
||
Samples[](https://coolify.io/docs/api-reference/api/operations/delete-database-by-uuid#samples)
|
||
|
||
-------------------------------------------------------------------------------------------------
|
||
|
||
Powered by [VitePress OpenAPI](https://github.com/enzonotario/vitepress-openapi)
|