This method allows you to delete an environment variable from a project.

**Tip**: You can explore and test this endpoint interactively using our [OpenAPI documentation](https://api.deployhq.com/docs).

## URL

```
/projects/<permalink>/environment_variables/<id>
```

* Replace `<permalink>` with the permalink of the project.
* Replace `<id>` with the identifier of the environment variable.

## HTTP Method

```
DELETE
```

## Example cURL request

```bash
curl -H "Content-type: application/json" \
-H "Accept: application/json" \
--user your-email@example.com:your-api-key \
-X DELETE \
https://your-account.deployhq.com/projects/your-project/environment_variables/125
```

## Example response

A successful deletion returns a `204 No Content` status with no response body.
