cyphermed.api.roles.get_role_access_by_id

def sync_detailed( role_id: str, account_id: str, *, client: cyphermed.client.AuthenticatedClient) -> cyphermed.types.Response[typing.Union[cyphermed.models.admin_role_access_info.AdminRoleAccessInfo, cyphermed.models.role_access_info.RoleAccessInfo]]:

Get Role Access By Id

Get a role access by ID

Args: role_id (str): account_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['AdminRoleAccessInfo', 'RoleAccessInfo']]

def sync( role_id: str, account_id: str, *, client: cyphermed.client.AuthenticatedClient) -> Union[cyphermed.models.admin_role_access_info.AdminRoleAccessInfo, cyphermed.models.role_access_info.RoleAccessInfo, NoneType]:

Get Role Access By Id

Get a role access by ID

Args: role_id (str): account_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['AdminRoleAccessInfo', 'RoleAccessInfo']

async def asyncio_detailed( role_id: str, account_id: str, *, client: cyphermed.client.AuthenticatedClient) -> cyphermed.types.Response[typing.Union[cyphermed.models.admin_role_access_info.AdminRoleAccessInfo, cyphermed.models.role_access_info.RoleAccessInfo]]:

Get Role Access By Id

Get a role access by ID

Args: role_id (str): account_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['AdminRoleAccessInfo', 'RoleAccessInfo']]

async def asyncio( role_id: str, account_id: str, *, client: cyphermed.client.AuthenticatedClient) -> Union[cyphermed.models.admin_role_access_info.AdminRoleAccessInfo, cyphermed.models.role_access_info.RoleAccessInfo, NoneType]:

Get Role Access By Id

Get a role access by ID

Args: role_id (str): account_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['AdminRoleAccessInfo', 'RoleAccessInfo']