List project environments
get
/v1/secrets/environmentsTeam admins see all environments; other members see only the ones they have been granted access to.
Request
Authorization
- Authorizationstringheaderrequired
Key in the format
Bearer <API-key>. Create a key on the API keys page.
Query Parameters
- search string
Case-insensitive search by environment name and alias
- project stringrequired
Project alias
- page_size integer<int64>
- page integer<int64>
Response
- Array [
- ]
access_levelstring
Current user's access level to the environment
Possible values: [none, viewer, editor, admin]
Example:
editorcreated_atstring<date-time>
Creation date
idinteger<int64>
Identifier
Example:
10initial_fetch_atstring<date-time>
Date secrets were first read via the API
namestring
Name
Example:
Productionorderinteger<int64>
Display order
Example:
1personal_configsboolean
Personal configurations <environment>/personal are allowed
slugstring
Alias
Example:
productionupdated_atstring<date-time>
Update date