MailSlurpAPI.Api.CommonActionsController.empty_inbox

You're seeing just the function empty_inbox, go back to MailSlurpAPI.Api.CommonActionsController module for more information.
Link to this function

empty_inbox(connection, inbox_id, opts \\ [])

Specs

empty_inbox(Tesla.Env.client(), String.t(), keyword()) ::
  {:ok, nil} | {:error, Tesla.Env.t()}

Delete all emails in an inbox Deletes all emails

Parameters

  • connection (MailSlurpAPI.Connection): Connection to server
  • inbox_id (String.t): inboxId
  • opts (KeywordList): [optional] Optional parameters

    Returns

} on success {:error, info} on failure