---
title: "Pause an environment"
method: POST
path: "/projects/{projectId}/environments/{environmentId}/pause"
tags: ["Environment"]
---

# Pause an environment

`POST /projects/{projectId}/environments/{environmentId}/pause`

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](https://docs.upsun.com/anchors/environments/paused/).

## Path parameters

- `projectId` string, required
- `environmentId` string, required

## Response `default`

- AcceptedResponse
  - `status` string, required — The status text of the response
  - `code` integer, required — The status code of the response

---

[API](https://skmtc.net/upsun/apis/upsun-com-rest-api.md) · [All operations](https://skmtc.net/upsun/apis/upsun-com-rest-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/upsun/upsun-com-rest-api/revisions/6cc88fde6435/schema)
