v1
latestOpenAPI 3.1.02026-07-22106199311.5 KBConnections
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.
post/v1/projects/{projectId}/connections/environment-overrides
Path parameters
projectIdstring required
The unique identifier of the project containing the connection
Request body
Example request
{
"authType": "OAUTH_CLIENT_CRED",
"connectionName": "Salesforce",
"connectionOverrides": {
"connectionProperties": {
"credentialSecretName": "aws-platform-credentials"
}
},
"environmentName": "PROD"
}Response
Environment connection override created successfully
Example response
{
"authProvider": "NONE",
"authType": "GENERIC_SECRET",
"connectionOverrides": {
"connectionProperties": {
"credentialSecretName": "aws-platform-credentials"
}
},
"name": "my-jira-connection",
"platformConnectionType": "COMPONENT_BASIC"
}