POST user/…/email-address/…/request-verification
Requests a verification email to verify a user's email address.
Resource URL
https://www.drillster.com/api/2.1.1/user/{user_id}/email-address/{email}/request-verification
Parameters
Field | Description |
---|---|
user_id required |
The user ID of the user to retrieve details for. To retrieve the details of the own user account, the value self may be used as well.Example value: 7OuHq-RcQO_snGWR58TnBw |
email required |
The email address to retrieve. The email address must be linked to the given user account. Example value: john%40example.com |
Response
An HTTP 204 (No content) response indicating that the verification email was sent.
Error responses
The following error situations are possible:
ID | Response code | Description |
---|---|---|
not_found |
404 (Not found) | Requested account was not found |
not_permitted |
403 (Forbidden) | Caller does not have access to account |
email_not_linked_to_account |
400 (Bad request) | The given email address is not linked to the user account |
invalid_email |
400 (Bad request) | Invalid email address |
Last updated on