2.3 KiB
Return to top
Delete
===============================================================================================
DELETE
/databases/{uuid}
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
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
200400401404
Database deleted.
Content-Type
application/json
SchemaJSON
JSON
{
"message": "Database deleted."
}
DELETE
/databases/{uuid}
Playground
Authorization
bearerAuth
Variables
Key
Value
uuid*
delete_configurations
delete_volumes
docker_cleanup
delete_connected_networks
Try it out
Samples
Powered by VitePress OpenAPI