Skip to main content

Get default environments

get/v1/secrets/default_environments

These environments are created in every new secrets project. If the team hasn't set its own list, the default list is returned. Available to team admins.

Authorization

  • Authorizationstringheaderrequired

    Key in the format Bearer <API-key>. Create a key on the API keys page.

Response

  • Array [
  • branchesstring

    Comma-separated names of branch configurations created along with the environment

    Example: local,review
    namestring

    Name

    Example: Production
    personal_configsboolean

    Personal configurations

    slugstring

    Alias

    Example: production
  • ]