---
title: "List RGW role policies"
method: GET
path: "/api/rgw/accounts/{account_id}/roles/{role_name}/policy"
tags: ["RgwRolePolicy"]
---

# List RGW role policies

`GET /api/rgw/accounts/{account_id}/roles/{role_name}/policy`

## Request

- Base URL: `/` (relative, and the document was published on a file host, not at the API’s origin)
- URL: `/api/rgw/accounts/{account_id}/roles/{role_name}/policy`
- Auth: HTTP bearer

List all permission policy names attached to the specified role.

## Path parameters

- `role_name` string, required
- `account_id` string, required

## Response `200`

OK

- object

## Other responses

- `400`: Operation exception. Please check the response body for details.
- `401`: Unauthenticated access. Please login first.
- `403`: Unauthorized access. Please check your permissions.
- `500`: Unexpected error. Please check the response body for the stack trace.

## Changes

- **2026-09-30** `1b06275847c0`: 1 info
  - endpoint added
- **2026-09-30** `e7a1b57437d5`: 1 breaking
  - api path removed without deprecation
- **2026-09-25** `d1f9b4241863`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/ceph/apis/ceph-rest-api/changes/api/rgw/accounts/:account_id/roles/:role_name/policy/get.md)

---

[API](https://skmtc.dev/ceph/apis/ceph-rest-api.md) - [All operations](https://skmtc.dev/ceph/apis/ceph-rest-api/llms.txt) - [OpenAPI document](https://skmtc.dev/ceph/apis/ceph-rest-api/revisions/56cc950e3e37?raw)
