MailSlurpAPI.Api.EmailController.delete_email
You're seeing just the function
delete_email
, go back to MailSlurpAPI.Api.EmailController module for more information.
Link to this function
delete_email(connection, email_id, opts \\ [])
Specs
delete_email(Tesla.Env.client(), String.t(), keyword()) :: {:ok, nil} | {:error, Tesla.Env.t()}
Delete an email Deletes an email and removes it from the inbox. Deleted emails cannot be recovered.
Parameters
- connection (MailSlurpAPI.Connection): Connection to server
- email_id (String.t): ID of email to delete
- opts (KeywordList): [optional] Optional parameters
Returns
} on success {:error, info} on failure