VERIFY EMAIL
PATCH
/auth/verify-emailRequest
Header Params
X-Tonic-Env
string
required
Example:
development
Body Params application/json
token
string
required
otp
string
required
Example
{
"token": "I46xcijA9RBNP35xxt5ol",
"otp": "3271"
}
Request samples
Responses
422 VERIFY EMAIL(422)
400 VERIFY EMAIL(400)
200 VERIFY EMAIL(200)
HTTP Code: 422
Content Type : JSONapplication/json
Data Schema
success
boolean
required
message
string
required
meta
object
required
settings
object
required
errors
array [object {3}]
required
message
string
required
field
string
required
location
string
required
Example422 VERIFY EMAIL
{
"success": false,
"message": "validation errors",
"meta": {
"settings": {}
},
"errors": [
{
"message": "provide the token",
"field": "token",
"location": "body"
},
{
"message": "provide the otp",
"field": "otp",
"location": "body"
}
]
}
Last modified: 10 days ago