RoleService#

class RoleService[source]#

Methods

get_all

Get all global roles with their permissions

patch

Update the Permission of a given Role.

get_all(*, extra_parameters=None)[source]#

Get all global roles with their permissions

Parameters:
Returns:

An array of all global roles.

Return type:

Sequence[RoleAsJSONWithPerms]

patch(json_body, *, role_id, extra_parameters=None)[source]#

Update the Permission of a given Role.

Parameters:
Returns:

An empty response with return code 204.

Return type:

None