curl --request POST \
--url https://api.example.com/api/projects/{projectId}/environments/{environmentId}/undeploy \
--header 'Authorization: Bearer <token>'Removes the currently deployed release from an environment, optionally creating a change request if approval is required.
curl --request POST \
--url https://api.example.com/api/projects/{projectId}/environments/{environmentId}/undeploy \
--header 'Authorization: Bearer <token>'Personal access token is obtained through your profile
ID of the environment to undeploy
ID of the project containing the environment
Environment successfully undeployed or change request created
Was this page helpful?