Access
PreviewList roles
GET
cookie
better-auth.session_token<token>Better Auth session cookie. Production uses the __Secure- prefixed name.
limit?integerPage size. Defaults to 50, at most 200.
Range
1 <= value <= 200Default
50cursor?stringOpaque cursor from a previous page's nextCursor.
A page of roles.
application/json- response
items*array<>nextCursor?stringcurl -X GET 'https://wardn.example.com/api/v1/roles'Example Response
{ "items": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "name": "string", "description": "string", "granted": "org", "builtin": true, "permissions": [ "string" ], "bindingCount": 0, "minOrgRole": "owner", "placeKinds": [ "org" ] } ], "nextCursor": "string"}