Pterodactyldocs
Admin A P I

Delete database host

Deletes a database host when no server databases depend on it.

DELETE/api/admin/database-hosts/{databaseHost_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

databaseHost_id*string

The ID of the databaseHost.

Response Body

application/json

application/json

application/json

curl -X DELETE "https://example.com/api/admin/database-hosts/architecto"
Empty