PingOne Platform APIs

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

environmentId

String

Optional

Mutable

The identifier of the source environment.

targetEnvironmentId

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

REQUEST_FAILED

None

Message: The request could not be completed. There was an issue processing the request.

When and details

When: A PUT Update Promotion Configuration request failed because the promotion operation could not be completed

Details: Describes the failing operation with target promotionConfiguration.

401

ACCESS_FAILED

None

Message: The request could not be completed. You do not have access to this resource.

When and details

When: The access token is missing, invalid, or expired

Details: None.

403

ACCESS_FAILED

INSUFFICIENT_PERMISSIONS

Message: You do not have permissions or are not licensed to make this request.

When and details

When: The actor lacks the promotion:read:promotionConfiguration permission (GET) or the promotion:update:promotionConfiguration permission (PUT)

Details: You do not have permission to access this resource. with target targetEnvironment

403

ACCESS_FAILED

LICENSE_EXCEEDED

Message: The request exceeded your license limit.

When and details

When: The environment referenced by the request is disabled, or the Configuration Management capability is not enabled for the environment

Details: Environment is disabled: <environmentId> or Configuration management is not enabled for environment: <environmentId> with no target

404

NOT_FOUND

None

Message: The request could not be completed. The requested resource was not found.

When and details

When: The environment has no promotion configuration

Details: Failed to retrieve promotion configuration for environment with id: '<environmentId>' with target promotionConfiguration