curl --request GET \
--url http://localhost:3333/v1/roles \
--header 'X-API-Key: <api-key>'{
"builtInRoles": [
{
"name": "<string>",
"isBuiltIn": true,
"description": "<string>"
}
],
"customRoles": [
{
"id": "<string>",
"name": "<string>",
"permissions": {},
"isBuiltIn": true,
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
]
}List all roles for the organization, including built-in and custom roles.
curl --request GET \
--url http://localhost:3333/v1/roles \
--header 'X-API-Key: <api-key>'{
"builtInRoles": [
{
"name": "<string>",
"isBuiltIn": true,
"description": "<string>"
}
],
"customRoles": [
{
"id": "<string>",
"name": "<string>",
"permissions": {},
"isBuiltIn": true,
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
]
}Was this page helpful?