Server Databases
Delete database
Deletes the specified database
DELETE
/api/application/servers/{id}/databases/{database}Authorization
ApplicationToken AuthorizationBearer <token>
Application API key (generated at /admin/api)
In: header
Path Parameters
id*integer
Server ID (internal numeric ID)
database*integer
Database ID
Response Body
curl -X DELETE "https://pterodactyl.file.properties/api/application/servers/5/databases/1" \ -H "Authorization: Bearer ptla_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" \ -H "Accept: application/json"Empty