Activate Email
Description
This Endpoint is used to Verify a users Email adress after sign up and thereby activated the account. uidb64 and token are part of the email verification link, send to the user.
Endpoint
POST https://api.thenights.app/user_manager/activateapi
Request
Headers
| Key | Value |
|---|---|
| Content-Type | application/json |
Body
| Parameter | Type | Required | Description |
|---|---|---|---|
| uidb64 | String | yes | uidb64 from the activation link |
| token | String | yes | token from the activation link |
Example Request Body
{
"uidb64": "Mjg4ZDRiMjItNzU2OC00ZGFkLTkwMjUtZTQ2MWZhMmZhZjYx",
"token": "bonxkf-f4b82f2b58a9b0a291f0e27c78af5507",
}
Response
Success Response
Code: 200 OK
| Parameter | Type | Description |
|---|---|---|
| detail | String | - |
Example Response Body
{
"detail": "Successfully verified."
}
{
"detail": "Email already verified."
}
Error Response
Code: 400 Bad Request
| Parameter | Type | Description |
|---|---|---|
| detail | String | - |
Example Response Body
{
"detail": "Something went wrong."
}
Email
After the email has been successfully verified, we send another Email to the User, informing them about the change.