cyphermed.api.groups.delete_group_access_by_id

def sync_detailed( group_id: str, grantee_id: str, *, client: cyphermed.client.AuthenticatedClient, permanent: Optional[bool] = True, force: Optional[bool] = None) -> cyphermed.types.Response[cyphermed.models.success.Success]:

Delete Group Access By Id

Delete a group access by ID

Args: group_id (str): grantee_id (str): permanent (Union[Unset, bool]): If true (default), the group access will be permanently deleted Default: True. force (Union[Unset, bool]): (Admin only) Delete even if it is protected

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

def sync( group_id: str, grantee_id: str, *, client: cyphermed.client.AuthenticatedClient, permanent: Optional[bool] = True, force: Optional[bool] = None) -> Optional[cyphermed.models.success.Success]:

Delete Group Access By Id

Delete a group access by ID

Args: group_id (str): grantee_id (str): permanent (Union[Unset, bool]): If true (default), the group access will be permanently deleted Default: True. force (Union[Unset, bool]): (Admin only) Delete even if it is protected

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

async def asyncio_detailed( group_id: str, grantee_id: str, *, client: cyphermed.client.AuthenticatedClient, permanent: Optional[bool] = True, force: Optional[bool] = None) -> cyphermed.types.Response[cyphermed.models.success.Success]:

Delete Group Access By Id

Delete a group access by ID

Args: group_id (str): grantee_id (str): permanent (Union[Unset, bool]): If true (default), the group access will be permanently deleted Default: True. force (Union[Unset, bool]): (Admin only) Delete even if it is protected

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

async def asyncio( group_id: str, grantee_id: str, *, client: cyphermed.client.AuthenticatedClient, permanent: Optional[bool] = True, force: Optional[bool] = None) -> Optional[cyphermed.models.success.Success]:

Delete Group Access By Id

Delete a group access by ID

Args: group_id (str): grantee_id (str): permanent (Union[Unset, bool]): If true (default), the group access will be permanently deleted Default: True. force (Union[Unset, bool]): (Admin only) Delete even if it is protected

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