POST /v1/services/databaseServices
Create a Database Service
Create a new database service connection
POST
POST /v1/services/databaseServices
Documentation Index
Fetch the complete documentation index at: https://openmetadata-codex-audit-docs-codebase-alignment.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
Create a Database Service
Create a new database service connection to a platform such as Snowflake, BigQuery, or PostgreSQL.Body Parameters
Name of the database service. Must be unique across all database services.
Type of database service (e.g.,
Snowflake, BigQuery, PostgreSQL, MySQL, Redshift, Databricks).Description of the database service in Markdown format.
Human-readable display name for the database service.
Connection configuration specific to the service type.
Array of owner references (users or teams) to assign to the service.
Fully qualified name of the domain to assign for governance purposes.
Array of classification tags to apply to the database service.
POST /v1/services/databaseServices
Returns
Returns the created database service object with all specified properties and system-generated fields.Response
Unique identifier for the database service (UUID format).
Database service name.
Fully qualified name of the service.
Human-readable display name.
Description of the database service in Markdown format.
Type of database service (e.g., Snowflake, BigQuery, PostgreSQL).
Connection configuration for the service.
List of owners assigned to the database service.
Fully qualified name of the assigned domain.
Classification tags applied to the database service.
Version number for the entity (starts at 0.1).
Create or Update (PUT)
UsePUT /v1/services/databaseServices instead of POST to perform an upsert. If a database service with the same fullyQualifiedName already exists, it will be updated; otherwise, a new service is created. The request body is the same as POST.
PUT will not return a 409 conflict error if the entity already exists — it will update the existing entity instead.Bulk Create or Update (PUT)
UsePUT /v1/services/databaseServices/bulk to create or update multiple database services in a single request. The request body is an array of create request objects.
Error Handling
| Code | Error Type | Description |
|---|---|---|
400 | BAD_REQUEST | Invalid request body or missing required fields |
401 | UNAUTHORIZED | Invalid or missing authentication token |
403 | FORBIDDEN | User lacks permission to create database services |
409 | ENTITY_ALREADY_EXISTS | Database service with same name already exists (POST only) |