RoleService

class RoleService[source]

Methods

get_all

Get all global roles with their permissions

patch

Update the Permission of a given Role.

get_all(*, page_size=20)[source]

Get all global roles with their permissions

Parameters:
Returns:

An array of all global roles.

Return type:

Response[RoleAsJSONWithPerms]

patch(json_body, *, role_id)[source]

Update the Permission of a given Role.

Parameters:
Returns:

An empty response with return code 204.

Return type:

None