DELETE/databases/{uuid}

Delete

Delete database by UUID. Needs a token with the write and deploy permissions.

5 parameters
uuidstringrequired
UUID of the database.
delete_configurationsbooleanoptional
Delete configurations.
Default:true
delete_volumesbooleanoptional
Delete volumes.
Default:true
docker_cleanupbooleanoptional
Run docker cleanup when the server disk usage is at or above its cleanup threshold. Skipped when a cleanup ran on the server in the last hour.
Default:true
delete_connected_networksbooleanoptional
Delete connected networks.
Default:true

5 status codes
200Database deleted.
messagestringoptional
400Invalid token.
messagestringoptional
401Unauthenticated.
messagestringoptional
403The token needs the write and deploy permissions.
404Resource not found.
messagestringoptional

Error handling

A 400 is returned: Invalid token. A 401 is returned: Unauthenticated. A 403 is returned: The token needs the write and deploy permissions. A 404 is returned: Resource not found.