Databases
Delete database
Deletes the specified database
DELETE
/api/client/servers/{server}/databases/{database}Authorization
ClientToken AuthorizationBearer <token>
Client API key (generated at /account/api)
In: header
Path Parameters
server*string
Server identifier (short 8-character ID)
database*integer
Database ID
Response Body
curl -X DELETE "https://pterodactyl.file.properties/api/client/servers/1a7ce997/databases/1" \ -H "Authorization: Bearer ptlc_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" \ -H "Accept: application/json"Empty