Skip to main content
POST
Create environment variables

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
Pattern: ^[a-fA-F0-9]{24}$

Query Parameters

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

Body

application/json
variables
object[]
required
projectId
string

Scope the variables to one project in the environment. Can also be sent as ?projectId=.

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

Response

Environment variables saved successfully

message
string
required
Example:

"Environment variables saved successfully"

data
any[]
required
Last modified on October 10, 2026