Skip to main content
DELETE
Delete an environment

Authorizations

x-brimble-key
string
header
required

API key created in the dashboard under Settings → API keys. Each key carries permission scopes; every endpoint lists the scope it needs.

Path Parameters

environmentId
string
required

ID of the environment.

Pattern: ^[a-fA-F0-9]{24}$

Query Parameters

moveTo
string

ID of the environment that receives the deleted environment's projects. Required unless deleteProjects is true.

Pattern: ^[a-fA-F0-9]{24}$
deleteProjects
enum<string>

When true, the environment's projects are deleted with it instead of being moved.

Available options:
true,
false
teamId
string

Team to act in. Omit for your personal workspace. API keys created for a team use that team automatically.

Pattern: ^[a-fA-F0-9]{24}$
Example:

"6a81bed11470bfcd2a5dbcfa"

Response

Environment deleted successfully

message
string
required

Human-readable result of the request.

Example:

"Environment deleted successfully"

data
object
required

The result of the request.

Last modified on October 31, 2026