Environment
Pause an environment
Pause an environment, stopping all services and applications (except the router).
Development environments are often used for a limited time and then abandoned. To prevent unnecessary consumption of resources, development environments that haven't been redeployed in 14 days are automatically paused.
You can pause an environment manually at any time using this endpoint. Further information is available in our public documentation.
post/projects/{projectId}/environments/{environmentId}/pause
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.