Skip to main content

List approval policies

get/v1/secrets/change_request_policies

Authorization

  • Authorizationstringheaderrequired

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

Response

  • Array [
  • auto_assignstring

    Who to assign as reviewers of a new request: never, all (everyone covered by the rules)

    Possible values: [all, never]

    created_atstring<date-time>

    Creation date

    descriptionstring

    Description

    disallow_self_approvalboolean

    The request author can't approve it

    idinteger<int64>

    Identifier

    namestring

    Name

    rules object[]

    Rules: all of them must be met

  • Array [
  • required_approvalsinteger<int64>

    Number of approvals required

    reviewers object[]

    Whose approvals count; empty means anyone who can approve

  • Array [
  • activeboolean

    Active flag

    avatar_urlstring

    Avatar

    Example: https://www.gravatar.com/avatar/00000000000000000000000000000000
    emailstring

    Email

    Example: jane@example.com
    idinteger<int64>

    Identifier

    Example: 42
    namestring

    Name

    Example: Jane Doe
    rolestring

    Role

    Possible values: [primary_owner, owner, admin, member]

    Example: member
  • ]
  • ]
  • targets object
    all_projectsboolean

    All team projects

    projects object[]

    Projects; without environments and configurations, the whole project

  • Array [
  • configsstring[]

    Configuration aliases: env or env/branch

    environmentsstring[]

    Environment aliases: the whole environment, including branches

    projectstring

    Project alias

  • ]
  • updated_atstring<date-time>

    Updated date

  • ]