Skip to main content
DELETE
/
api
/
projects
/
{projectId}
/
environments
/
{environmentId}
Delete environment
curl --request DELETE \
  --url https://api.example.com/api/projects/{projectId}/environments/{environmentId} \
  --header 'Authorization: Bearer <token>'
{
  "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}

Authorizations

Authorization
string
header
required

Personal access token is obtained through your profile

Path Parameters

environmentId
string<uuid>
required

ID of the environment to delete

projectId
string<uuid>
required

ID of the project containing the environment

Response

200 - application/json

The ID of the deleted environment

The ID of the deleted environment

id
string<uuid>
required

ID of the deleted environment