POST | /auth/forgot-password |
---|
Imports System
Imports System.IO
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
To override the Content-type in your clients, use the HTTP Accept Header, append the .csv suffix or ?format=csv
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: team.evovoice.io
Accept: text/csv
Content-Type: text/csv
Content-Length: length
{"emailAddress":"String"}