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
Request
- Base URLhttps://api.upsun.com
- AuthOAuth 2Authorization codehttps://auth.api.platform.sh/oauth2/authorizeToken URLhttps://auth.api.platform.sh/oauth2/token
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
projectIdstring required
environmentIdstring required
Response
Changes
No recorded changes to this operation across all 1 revision of this API.