---
title: "List all role templates of the specified user"
method: GET
path: "/kapis/iam.kubesphere.io/v1beta1/users/{username}/roletemplates"
tags: ["Access Management"]
---

# List all role templates of the specified user

`GET /kapis/iam.kubesphere.io/v1beta1/users/{username}/roletemplates`

## Path parameters

- `username` string, required

## Query parameters

- `scope` string

## Response `200`

ok

- ApiListResult
  - `items` RuntimeObject[], required
    - unknown
  - `totalItems` integer, required

---

[API](https://skmtc.net/kubesphere/apis/ks-api.md) · [All operations](https://skmtc.net/kubesphere/apis/ks-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/kubesphere/ks-api/versions/0451c8cec9b1/schema)
