Create an environment connection override
Creates a new environment-specific override for an existing project connection. If the override already exists, a 409 Conflict is returned. Use the PUT endpoint to update an existing override. The override’s connection type is determined by the parent project connection.
Authorizations
a valid bearer token
Path Parameters
The unique identifier of the project containing the connection
^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$Body
Create a new environment connection override. Returns 409 Conflict if the override already exists — use the PUT endpoint to update.
Provide environmentName and connectionName to identify the override, plus the type-specific fields inside connectionOverrides.
The combinations of platformConnectionType, authProvider and authType follow the same rules as the main create-connection request — see the combinations table on POST /v1/projects/{projectId}/connections.
The environment override request containing all necessary details
The kind of secret being referenced. Must match the parent project connection's authType. See the combinations table on POST /v1/projects/{projectId}/connections for valid values per connection type.
GENERIC_SECRET, CLOUD_PROVIDER_SECRET, OAUTH_USER_TOKENS, OAUTH_AUTHORIZATION_CODE, OAUTH_CLIENT_CRED, COMPOSITE_TOKEN, OAUTH_1_0_X_ADS "OAUTH_CLIENT_CRED"
The name of the connection to override
1"Salesforce"
The name of the environment to apply the override in
1"PROD"
Connection override configuration
Response
Environment connection override created successfully
The authentication provider
"NONE"
The authentication type
GENERIC_SECRET, CLOUD_PROVIDER_SECRET, OAUTH_USER_TOKENS, OAUTH_AUTHORIZATION_CODE, OAUTH_CLIENT_CRED "GENERIC_SECRET"
Connection override configuration
The user who created the connection
The date and time when the connection was created
The name of the connection
"my-jira-connection"
The platform connection type
DWH, COMPONENT_BASIC, CLOUD_PLATFORM_CREDENTIALS "COMPONENT_BASIC"
The project ID this connection belongs to
