cyphermed.api.emails.patch_email_template

def sync_detailed( template_id: str, *, client: cyphermed.client.AuthenticatedClient, body: cyphermed.models.patch_email_template_body.PatchEmailTemplateBody) -> cyphermed.types.Response[cyphermed.models.success.Success]:

Patch Email Template

Patch an email template

Args: template_id (str): body (PatchEmailTemplateBody): Which Template fields to include in request bodies

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( template_id: str, *, client: cyphermed.client.AuthenticatedClient, body: cyphermed.models.patch_email_template_body.PatchEmailTemplateBody) -> Optional[cyphermed.models.success.Success]:

Patch Email Template

Patch an email template

Args: template_id (str): body (PatchEmailTemplateBody): Which Template fields to include in request bodies

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( template_id: str, *, client: cyphermed.client.AuthenticatedClient, body: cyphermed.models.patch_email_template_body.PatchEmailTemplateBody) -> cyphermed.types.Response[cyphermed.models.success.Success]:

Patch Email Template

Patch an email template

Args: template_id (str): body (PatchEmailTemplateBody): Which Template fields to include in request bodies

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( template_id: str, *, client: cyphermed.client.AuthenticatedClient, body: cyphermed.models.patch_email_template_body.PatchEmailTemplateBody) -> Optional[cyphermed.models.success.Success]:

Patch Email Template

Patch an email template

Args: template_id (str): body (PatchEmailTemplateBody): Which Template fields to include in request bodies

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