---
title: "Delete Elements Config"
method: DELETE
path: "/v2/elements/{proj_id}/{env_id}/{elements_config_id}"
tags: ["Elements Configs (EAP)"]
---

# Delete Elements Config

`DELETE /v2/elements/{proj_id}/{env_id}/{elements_config_id}`

Deletes the elements_config and all its related data.

## Path parameters

- `elements_config_id` string, required — Either the unique id of the elements_config, or the URL-friendly key of the elements_config (i.e: the "slug").
- `proj_id` string, required — Either the unique id of the project, or the URL-friendly key of the project (i.e: the "slug").
- `env_id` string, required — Either the unique id of the environment, or the URL-friendly key of the environment (i.e: the "slug").

## Response `204`

Successful Response

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.dev/permit/apis/permit-io-api.md) · [All operations](https://skmtc.dev/permit/apis/permit-io-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/permit/permit-io-api/revisions/853e35d93523/schema)
