Evo Voice

<back to all web services

ForgotPassword

Sends a password recovery email to the email address on file

The following routes are available for this service:
POST/auth/forgot-password
Imports System
Imports System.Collections
Imports System.Collections.Generic
Imports System.Runtime.Serialization
Imports ServiceStack
Imports ServiceStack.DataAnnotations
Imports Voice.Api.Authentication

Namespace Global

    Namespace Voice.Api.Authentication

        '''<Summary>
        '''Sends a password recovery email to the email address on file
        '''</Summary>
        <Api(Description:="Sends a password recovery email to the email address on file")>
        Public Partial Class ForgotPassword
            Implements IPost
            '''<Summary>
            '''The email address associated with the account you want to recover
            '''</Summary>
            <ApiMember(Description:="The email address associated with the account you want to recover")>
            Public Overridable Property EmailAddress As String
        End Class
    End Namespace
End Namespace

VB.NET ForgotPassword DTOs

To override the Content-type in your clients, use the HTTP Accept Header, append the .xml suffix or ?format=xml

HTTP + XML

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

POST /auth/forgot-password HTTP/1.1 
Host: evovoice.io 
Accept: application/xml
Content-Type: application/xml
Content-Length: length

<ForgotPassword xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Voice.Api.Authentication">
  <EmailAddress>String</EmailAddress>
</ForgotPassword>