Delete Database

Delete a database and all its indexed data. Headers: - Authorization: Bearer {api_key} - Captain API key for authentication - X-Organization-ID: Organization UUID Args: database_name: Name of the database to delete Returns: StandardResponse indicating success or failure

Headers

AuthorizationstringRequired
Captain API key for authentication
X-Organization-IDstringRequired
Organization UUID

Request

This endpoint expects an object.
database_namestringRequired

Response

Successful Response
successboolean
messagestring
errorstring or null

Errors