cyphermed.api.roles.get_role_org_access

def sync_detailed( role_id: str, *, client: cyphermed.client.AuthenticatedClient) -> cyphermed.types.Response[cyphermed.models.role_org_access_info.RoleOrgAccessInfo]:

Get Role Org Access

Get org access object for the target role

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[RoleOrgAccessInfo]

def sync( role_id: str, *, client: cyphermed.client.AuthenticatedClient) -> Optional[cyphermed.models.role_org_access_info.RoleOrgAccessInfo]:

Get Role Org Access

Get org access object for the target role

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: RoleOrgAccessInfo

async def asyncio_detailed( role_id: str, *, client: cyphermed.client.AuthenticatedClient) -> cyphermed.types.Response[cyphermed.models.role_org_access_info.RoleOrgAccessInfo]:

Get Role Org Access

Get org access object for the target role

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[RoleOrgAccessInfo]

async def asyncio( role_id: str, *, client: cyphermed.client.AuthenticatedClient) -> Optional[cyphermed.models.role_org_access_info.RoleOrgAccessInfo]:

Get Role Org Access

Get org access object for the target role

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: RoleOrgAccessInfo