> Markdown version of https://tuna.am/en/docs/api/secrets-change-request-policy-get/. Documentation index: [llms.txt](https://tuna.am/en/llms.txt), full text in one file: [llms-full.txt](https://tuna.am/en/llms-full.txt). Any page is available as Markdown: append `.md` to its URL without the trailing slash.

# Get an approval policy

get`/v1/secrets/change_request_policies/{id}`

## Request

### Authorization

* **Authorization**stringheaderrequired

  Key in the format `Bearer <API-key>`. Create a key on the [API keys](https://my.tuna.am/api_keys) page.

### Path Parameters

* **id** integer\<int64>required

  Policy ID

### Response

200application/json

* **auto_assign**string

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

  **Possible values:** \[`all`, `never`]

  **created_at**string\<date-time>

  Creation date

  **description**string

  Description

  **disallow_self_approval**boolean

  The request author can't approve it

  **id**integer\<int64>

  Identifier

  **name**string

  Name

  **rules** object\[]

  Rules: all of them must be met

  Array \[
* **required_approvals**integer\<int64>

  Number of approvals required

  **reviewers** object\[]

  Whose approvals count; empty means anyone who can approve

  Array \[
* **active**boolean

  Active flag

  **avatar_url**string

  Avatar

  **Example:&#x20;**`https://www.gravatar.com/avatar/00000000000000000000000000000000`

  **email**string

  Email

  **Example:&#x20;**`jane@example.com`

  **id**integer\<int64>

  Identifier

  **Example:&#x20;**`42`

  **name**string

  Name

  **Example:&#x20;**`Jane Doe`

  **role**string

  Role

  **Possible values:** \[`primary_owner`, `owner`, `admin`, `member`]

  **Example:&#x20;**`member`

  ]
* ]
* **targets** object

  **all_projects**boolean

  All team projects

  **projects** object\[]

  Projects; without environments and configurations, the whole project

  Array \[
* **configs**string\[]

  Configuration aliases: env or env/branch

  **environments**string\[]

  Environment aliases: the whole environment, including branches

  **project**string

  Project alias

  ]

  **updated_at**string\<date-time>

  Updated date
