---
title: "Delete configuration and settings of a specified environment"
method: DELETE
path: "/apps/{appId}/environments/{environmentId}/configurations"
tags: ["apps"]
---

# Delete configuration and settings of a specified environment

`DELETE /apps/{appId}/environments/{environmentId}/configurations`

## Request

- Base URL: `https://pmp-demo.privateplatform.mendix.com/deployservice/v1`
- URL: `https://pmp-demo.privateplatform.mendix.com/deployservice/v1/apps/{appId}/environments/{environmentId}/configurations`
- Auth: one of:
  - HTTP basic
  - API key in header `Authorization`

Delete configuration and settings of a specified environment for specified app.

## Path parameters

- `appId` string, required
- `environmentId` string, required

## Request body

- ConfigurationDeleteRequest: Request to delete environment configurations and settings
  - `CustomEnvironmentVariables` object[]: Variables of the app deployed in the environment
    - `name` string
  - `CustomRuntimeSettings` object[]: Runtime settings of the app deployed in the environment
    - `name` string
  - `CustomHttpHeaders` object[]: HTTP headers of the environment network
    - `header` string
  - `LogLevels` object[]: Log levels of the environment
    - `node` string
  - `ClientCertificates` object[]: Client certificates of the environment network
    - `id` integer

## Response `204`

Delete environment configurations successfully, no content in response body

## Other responses

- `400`: Invalid input parameter or request body
- `401`: Authentication information is missing or invalid
- `403`: User has no permission for this operation
- `404`: Resource not found

---

[API](https://skmtc.dev/mendix/apis/deploy-service-v1.md) - [All operations](https://skmtc.dev/mendix/apis/deploy-service-v1/llms.txt) - [OpenAPI document](https://skmtc.dev/mendix/apis/deploy-service-v1/revisions/375e6f7be385?raw)
