cyphermed.api.auth.enable_sms_mfa

def sync_detailed( *, client: cyphermed.client.AuthenticatedClient, body: cyphermed.models.enable_sms_mfa_form_params.EnableSmsMfaFormParams) -> cyphermed.types.Response[cyphermed.models.sms_mfa_added.SmsMfaAdded]:

Enable Sms Mfa

Register and verify MFA device using a generated TOTP code

Args: body (EnableSmsMfaFormParams):

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

def sync( *, client: cyphermed.client.AuthenticatedClient, body: cyphermed.models.enable_sms_mfa_form_params.EnableSmsMfaFormParams) -> Optional[cyphermed.models.sms_mfa_added.SmsMfaAdded]:

Enable Sms Mfa

Register and verify MFA device using a generated TOTP code

Args: body (EnableSmsMfaFormParams):

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

async def asyncio_detailed( *, client: cyphermed.client.AuthenticatedClient, body: cyphermed.models.enable_sms_mfa_form_params.EnableSmsMfaFormParams) -> cyphermed.types.Response[cyphermed.models.sms_mfa_added.SmsMfaAdded]:

Enable Sms Mfa

Register and verify MFA device using a generated TOTP code

Args: body (EnableSmsMfaFormParams):

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

async def asyncio( *, client: cyphermed.client.AuthenticatedClient, body: cyphermed.models.enable_sms_mfa_form_params.EnableSmsMfaFormParams) -> Optional[cyphermed.models.sms_mfa_added.SmsMfaAdded]:

Enable Sms Mfa

Register and verify MFA device using a generated TOTP code

Args: body (EnableSmsMfaFormParams):

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