List organization roles

View as Markdown
Lists the product role slugs for the caller's organization, shaped for the role picker.

Authentication

AuthorizationBearer

WorkOS session JWT or an organization API key, sent as Authorization: Bearer <token>.

Response

The organization's product roles.
roleslist of objects

Errors

400
Bad Request Error
401
Unauthorized Error