Use this endpoint to create a new database connection for the organization. The configName must be unique per organization. The password is encrypted upon creation and a UUID is automatically generated as the connection identifier.
The authorization token in the Bearer <token> format.
Important: This header is required if your environment has Access Manager enabled. For more information, refer to the Access Manager documentation.
"Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9..."
The product name to associate with this connection. Must contain only alphanumeric characters, underscores, and hyphens (max 100 characters). The value is normalized to lowercase.
100^[a-zA-Z0-9_-]+$"my-product"
Request body for creating a new database connection.
Unique identifier name for this connection configuration. Must be between 3 and 100 characters. Must be unique within the organization.
3 - 100"production-db"
Database engine type. Supported values: ORACLE, SQL_SERVER, POSTGRESQL, MONGODB, MYSQL. Note that the data source type field in the List Data Sources endpoint returns lowercase identifiers (postgresql, mongodb).
ORACLE, SQL_SERVER, POSTGRESQL, MONGODB, MYSQL "POSTGRESQL"
Hostname or IP address of the database server.
"db.example.com"
Network port number for the database connection.
1 <= x <= 655355432
Name of the database to connect to on the target server.
"mydatabase"
Username credential for database authentication.
"dbuser"
Password credential for database authentication. This value is encrypted upon storage.
"secretpassword"
Database schema name (for example, public, my_schema). Useful for PostgreSQL databases with custom schemas. If omitted, Reporter defaults to the public schema.
"public"
SSL configuration object containing certificate and security options.
An object containing key-value pairs for storing additional connection-related information. Keys (max 100 characters) and values (max 2000 characters) must be strings. Nested objects are not allowed.
{
"environment": "production",
"team": "data-engineering"
}Indicates that the connection was successfully created.
Response object containing connection details.
Unique identifier of the connection (UUID format).
"a1b2c3d4-e5f6-7890-abcd-ef1234567890"
Unique identifier name for this connection configuration.
"production-db"
Database engine type. Supported values: ORACLE, SQL_SERVER, POSTGRESQL, MONGODB, MYSQL. Note that the data source type field in the List Data Sources endpoint returns lowercase identifiers (postgresql, mongodb).
ORACLE, SQL_SERVER, POSTGRESQL, MONGODB, MYSQL "POSTGRESQL"
Hostname or IP address of the database server.
"db.example.com"
Network port number for the database connection.
5432
Name of the database to connect to on the target server.
"mydatabase"
Username credential for database authentication.
"dbuser"
ISO 8601 timestamp indicating when the connection was created.
"2024-01-15T10:30:00Z"
The product name associated with this connection. May be empty if the connection has not been assigned to a product.
"my-product"
Database schema name, when set.
"public"
SSL configuration object containing certificate and security options.
An object containing key-value pairs for storing additional connection-related information. Keys (max 100 characters) and values (max 2000 characters) must be strings. Nested objects are not allowed.
{
"environment": "production",
"team": "data-engineering"
}ISO 8601 timestamp indicating when the connection was last updated.
"2024-01-15T10:30:00Z"