Skip to main content
POST
Clone 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

sourceEnvironmentId
string
required

ID of the environment to copy.

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

Body

application/json
name
string
required

Name of the new environment. 2 to 64 characters.

Required string length: 2 - 64
include
object
required

What to copy. At least one must be true.

teamId
string

Team to act in. Omit for your personal workspace.

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

Suffix added to cloned *.brimble.app subdomains, for example staging turns web.brimble.app into web-staging.brimble.app. Letters, numbers and dashes, up to 32 characters. Defaults to the new environment's slug. Custom domains are not cloned.

Required string length: 1 - 32
inheritFrom
string | null

ID of an environment to inherit shared variables from. Send null to stop inheriting.

Response

Environment clone queued

message
string
required

Human-readable result of the request.

Example:

"Environment clone queued"

data
object
required
Last modified on October 31, 2026