---
title: "Lists role bindings visible to the caller."
method: GET
path: "/iam/role-bindings"
tags: ["RoleBindings"]
---

# Lists role bindings visible to the caller.

`GET /iam/role-bindings`

## Query parameters

- `user_id` string
- `role_id` string
- `scope_type` 'org' | 'project'
- `scope_object_id` string

## Response `200`

- ListRoleBindingsResponse
  - `role_bindings` RoleBinding[], required
    - `customer_id` string, required
    - `id` string, required
    - `role_id` string, required
    - `role_name` string, required
    - `scope_object_id` string, required
    - `scope_type` string, required

## Other responses

- `400` — Error Bad Request
- `403` — Error Permissions
- `404` — Error Not Found
- `500` — Error Internal Server

---

[API](https://skmtc.net/crusoecloud/apis/crusoe-cloud-api-gateway.md) · [All operations](https://skmtc.net/crusoecloud/apis/crusoe-cloud-api-gateway/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/crusoecloud/crusoe-cloud-api-gateway/revisions/a3fd2dedc72b/schema)
