POST
/api/v1/users/verify-email
curl \
--request POST 'http://localhost:8080/api/v1/users/verify-email' \
--header "Content-Type: application/json" \
--data '{"email":"abc@xyz.com","otp":123456}'
Request examples
{
"email": "abc@xyz.com",
"otp": 123456
}
Response examples (401)
{
"error": {
"code": "string",
"message": "string",
"target": "string",
"details": [
{
"code": "string",
"message": "string",
"target": "string"
}
]
}
}
Response examples (404)
{
"error": {
"code": "string",
"message": "string",
"target": "string",
"details": [
{
"code": "string",
"message": "string",
"target": "string"
}
]
}
}
Response examples (500)
{
"error": {
"code": "string",
"message": "string",
"target": "string",
"details": [
{
"code": "string",
"message": "string",
"target": "string"
}
]
}
}
Response examples (400)
{
"error": {
"code": "string",
"message": "string",
"target": "string",
"details": [
{
"code": "string",
"message": "string",
"target": "string"
}
]
}
}
Response examples (200)
{
"message": "string"
}