Create Database
Create a new Captain Database for an organization.
Headers:
- Authorization: Bearer {api_key} - Captain API key for authentication
- X-Organization-ID: Organization UUID
Args:
database_name: Unique name for the database within the organization
Returns:
DatabaseResponse with database details
Headers
Authorization
Captain API key for authentication
X-Organization-ID
Organization UUID
Request
This endpoint expects an object.
database_name
Response
Successful Response
success
message
database_name
database_id
organization_id
error
created_at
postgres_ip