Save default environments
post
/v1/secrets/default_environmentsThe submitted list fully replaces the team's list. Entries without a name or alias are skipped, duplicate aliases are merged, and entries beyond the limit are dropped. Existing projects don't change. Available to team admins.
Request
Authorization
- Authorizationstringheaderrequired
Key in the format
Bearer <API-key>. Create a key on the API keys page.
Request body
- Array [
- ]
branchesstring
Comma-separated names of branch configurations created along with the environment
Example:
local,reviewnamestring
Name
Example:
Productionpersonal_configsboolean
Personal configurations
slugstring
Alias
Example:
productionResponse
- Array [
- ]
branchesstring
Comma-separated names of branch configurations created along with the environment
Example:
local,reviewnamestring
Name
Example:
Productionpersonal_configsboolean
Personal configurations
slugstring
Alias
Example:
production