Pterodactyldocs
Admin A P I

Delete server database

Deletes a database assigned to a server.

DELETE/api/admin/servers/{server_admin_identifier}/databases/{database_id}
AuthorizationBearer <token>

Application API requests require an application API token, or a client API token, that belongs to a root administrator. Admin API requests require a client API token that belongs to a root administrator, and reject application API tokens. Client API requests require a client API token.

In: header

Path Parameters

server_admin_identifier*string

The server ID or UUID.

database_id*string

The database ID.

Response Body

application/json

application/json

application/json

curl -X DELETE "https://example.com/api/admin/servers/1/databases/Lk3jx4pQ"
Empty