cyphermed.api.users.delete_user_by_id
Delete User By Id
Delete a user by ID
Args: user_id (str): permanent (Union[Unset, bool]): Permanently deletes the user instead of just deactivating them 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]
Delete User By Id
Delete a user by ID
Args: user_id (str): permanent (Union[Unset, bool]): Permanently deletes the user instead of just deactivating them 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
Delete User By Id
Delete a user by ID
Args: user_id (str): permanent (Union[Unset, bool]): Permanently deletes the user instead of just deactivating them 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]
Delete User By Id
Delete a user by ID
Args: user_id (str): permanent (Union[Unset, bool]): Permanently deletes the user instead of just deactivating them 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