---
title: "Uninstall environment"
method: POST
path: "/environment/{environmentId}/uninstall"
tags: ["Environment Actions"]
---

# Uninstall environment

`POST /environment/{environmentId}/uninstall`

## Request

- Base URL: `https://api.qovery.com`
- URL: `https://api.qovery.com/environment/{environmentId}/uninstall`
- Auth: one of:
  - API key in header `Authorization`
  - HTTP bearer
- TypeScript: <https://skmtc.dev/qovery/apis/qovery-api/docs/environment/:environmentId/uninstall/post.ts> (a function with typed inputs; its response is checked against the schema)

This will uninstall all the services of this environment.

## Path parameters

- `environmentId` string, uuid, required

## Response `202`

uninstall environment

- object

## Other responses

- `401`: Access token is missing or invalid
- `403`: Access forbidden
- `404`: Resource not found
- `409`: Operation is in progress

---

[API](https://skmtc.dev/qovery/apis/qovery-api.md) - [All operations](https://skmtc.dev/qovery/apis/qovery-api/llms.txt) - [OpenAPI document](https://skmtc.dev/qovery/apis/qovery-api/revisions/93c4960a44ba?raw)
