Activate Account
The Activate Account endpoint allows you to activate a user account using a verification code.
POST /api/auth/activate-accountRequest Body
{
"email": "user@example.com",
"code": "502665"
}| Property | Type | Required | Description |
|---|---|---|---|
email | string | yes | The email address of the user. |
code | string | yes | The verification code sent to the email address. |
Response
{
"data": [],
"timestamp": 1234567890,
"code": 200,
"status": "OK",
"meta": {}
}If the endpoint success, it will activate the user account and send him an email to confirm the account activation.