Roles
Lists role assignments
Changed onReturns which organization member is assigned which role and the scope of that assignment. References roles and members by id only; join against list-roles and list-members to resolve names. This endpoint is not the source of truth for role or subsidiary names.
get/role-assignments
Request
- Base URLhttps://api.rillet.com
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Query parameters
limitinteger
Maximum number of rows to return in the page.
cursorstring
If defined, a cursor to retrieve the next page.
Example:iLQvkEj3sh3UiweC
Pagination cursor to navigate through the full response.
member_idstring uuid
Example:0199e21a-14c2-7abc-9d3e-112233445566
Filter assignments to a single organization member.
Response
OK
Example response
{
"role_assignments": [
{
"id": "0199e21d-2a4f-7111-8c22-aabbccddeeff",
"member_id": "0199e21a-14c2-7abc-9d3e-112233445566",
"role_id": "7a1b2c3d-4e5f-6789-abcd-ef0123456789",
"scope": {
"subsidiary_id": "0199e21b-be83-7298-a9d6-8c43437117c8"
}
}
],
"pagination": {
"next_cursor": "iLQvkEj3sh3UiweC"
}
}Changes
- info
endpoint added
- info