Validate Changed Email

Validate Changed Email

General Information


Service

API

Method

Service

API

Method

urac

/changeEmail/validate

GET

 

Data Models: UsersTokens

Workflow: Validate Changed Email Flow

Input


Type: application/json

Name

Source

Mandatory

Type

Special Format

Description

Name

Source

Mandatory

Type

Special Format

Description

token

Query

YES

String

N/A

Generated by Urac and email to user after change email request is made.

 

Output


Valid Response

Valid Response Sample
{ "result": true, "data": true }

 

Invalid Response

Error Response Sample
{ "result":false, "errors":{ "codes":[406], "details":[ { "code":406, "message":"Invalid or token has expired." } ] } }



Error Codes


 

Code

Description

Code

Description

406

Invalid or token has expired.

407

Problem validating Request. Please try again.


Example (CURL)


Request

Calling Validate API
 > CURL -X GET http://127.0.0.1:4000/urac/changeEmail/validate?token=abcdef

Response

Validate API response
{ "result": true, "data": true }