---
title: "Get a role's trust policy"
url: https://hexelstudio.com/docs/api/ciam-iam/roles/get-a-role-s-trust-policy
---

# Get a role's trust policy

**GET** `/roles/{role_id}/trust-policy`

## Path parameters

- `role_id: string`

  Role ID

## Headers

- `Authorization: string`

  `Bearer <token>`.

## Returns

`200` OK (`object`)

## Errors

- `404` Not Found

## Example

```bash
curl --request GET \
  --url 'https://api.hexelstudio.com/v1/roles/{role_id}/trust-policy' \
  --header "Authorization: Bearer $ACCESS_TOKEN"
```

### Response (200)

```json
{}
```

### Response (404)

```json
{
  "key": "string"
}
```
