Promotion configuration
The promotionConfiguration endpoint sets and reads default target environment to be used for promotions. When you know that you’ll be working with a specific target environment, you can set this environment as the default for the promotions you’re doing.
Promotion Configuration data model
| Property | Type | Required | Mutable | Description |
|---|---|---|---|---|
|
String |
Optional |
Mutable |
The identifier of the source environment. |
|
String |
Optional |
Mutable |
The identifier of the target environment. |
Promotion configuration errors
In addition to the general error codes, promotion configuration operations can return the following errors:
| HTTP status | Top‑level code | Detail code | When it happens and what the response contains |
|---|---|---|---|
400 |
|
None |
Message: When and detailsWhen: A Details: Describes the failing operation with target |
401 |
|
None |
Message: When and detailsWhen: The access token is missing, invalid, or expired Details: None. |
403 |
|
|
Message: When and detailsWhen: The actor lacks the Details: |
403 |
|
|
Message: When and detailsWhen: The environment referenced by the request is disabled, or the Configuration Management capability is not enabled for the environment Details: |
404 |
|
None |
Message: When and detailsWhen: The environment has no promotion configuration Details: |