v1

latestOpenAPI 3.0.1MPL 2.02026-07-17211027.3 KB
users
rbac

Fetch a user's roles

get/api/v1beta1/users/{username}/roles

Response

User roles details

countinteger required

Number of items in the current page

next_cursorstring required

Opaque cursor to access the next page. Can be null if there are no more pages

offsetinteger

Offset representing the current page

Example response

{
  "next_cursor": "V2h5IGFyZSB5b3UgdHJ5aW5nIHRvIGRlY29kZSBhIGN1cnNvcj8gSSB0b2xkIHlvdSBpdCB3YXMgb3BhcXVlIDopCg==",
  "items": [
    {
      "role": "users:manage"
    }
  ]
}