latestOpenAPI 3.0.12026-08-10234260964.0 KB

6cc88fde6435

Environment

Deactivate an environment

Destroy all services and data running on this environment so that only the Git branch remains. The environment can be reactivated later at any time; reactivating an environment will sync data from the parent environment and redeploy.

NOTE: ALL DATA IN THIS ENVIRONMENT WILL BE IRREVOCABLY LOST

post/projects/{projectId}/environments/{environmentId}/deactivate

Path parameters

projectIdstring required
environmentIdstring required

Response

statusstring required

The status text of the response

codeinteger required

The status code of the response