cyphermed.api.roles.get_role_by_id
Get Role By Id
Get a role by ID
Args: role_id (str):
Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. httpx.TimeoutException: If the request takes longer than Client.timeout.
Returns: Response[Union['AdminRoleInfo', 'RoleInfo']]
Get Role By Id
Get a role by ID
Args: role_id (str):
Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. httpx.TimeoutException: If the request takes longer than Client.timeout.
Returns: Union['AdminRoleInfo', 'RoleInfo']
Get Role By Id
Get a role by ID
Args: role_id (str):
Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. httpx.TimeoutException: If the request takes longer than Client.timeout.
Returns: Response[Union['AdminRoleInfo', 'RoleInfo']]
Get Role By Id
Get a role by ID
Args: role_id (str):
Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. httpx.TimeoutException: If the request takes longer than Client.timeout.
Returns: Union['AdminRoleInfo', 'RoleInfo']