DELETE
/
api
/
v1
/
workspace
/
{workspaceId}
/
environments
/
{id}

Authorizations

Authorization
string
header
required

An access token in Infisical

X-API-Key
string
header
required

An API Key in Infisical

Path Parameters

workspaceId
string
required

The ID of the project to delete the environment from.

id
string
required

The ID of the environment to delete.

Response

200 - application/json
environment
object
required
message
string
required
workspace
string
required