cURL
curl --request POST \ --url https://eu1.api.matillion.com/dpc/v1/projects/{projectId}/artifacts/promotions \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "sourceEnvironmentName": "<string>", "targetEnvironmentName": "<string>", "versionName": "<string>" } '
{ "environmentName": "<string>", "versionName": "<string>" }
An endpoint to promote artifact from one environment to another
a valid bearer token
The name of environment to promote the artifact from
1
The name of environment to promote the artifact to
The version of the artifact to be promoted
Artifact promoted successfully
The name of promoted environment
The artifact version name promoted
Was this page helpful?