Resend Email Verification
Sends a new verification link to a pending address in the authenticated user's set; the previous link stops working. Rate limited per account.
Required scopes: auth:emails:edit or auth:account:edit
JWT access token obtained via OAuth2 flow or service account
In: header
Header Parameters
Define the version of the Connect protocol
Define the timeout, in ms
Request Body
application/json
A pending address in the caller's set.
email3 <= length <= 254Response Body
application/json
application/json
curl -X POST "https://auth.xeonr.io/xeonr.auth.api.v1.MeService/ResendEmailVerification" \ -H "Connect-Protocol-Version: 1" \ -H "Connect-Timeout-Ms: 1000" \ -H "Content-Type: application/json" \ -d '{}'{
"email": {
"id": "6f1c2a9e-3b7d-4c55-9a43-2f0e8d1b7c61",
"email": "[email protected]",
"verified": true,
"primary": true,
"sources": [
"EMAIL_SOURCE_UNSPECIFIED"
],
"connectionIdpSlugs": [
"github"
],
"verifiedAt": "2023-01-15T01:30:15.01Z",
"verificationExpiresAt": "2023-01-15T01:30:15.01Z",
"createdAt": "2023-01-15T01:30:15.01Z"
}
}Remove Email POST
Removes a custom address from the authenticated user's set, verified or pending. The primary address is refused (`failed_precondition`); so is an address that comes only from a linked identity provider — unlink the provider instead. An address that is both custom and a linked provider's stays, as the provider's. **Required scopes:** `auth:emails:edit` or `auth:account:edit`
Verify Email POST
Completes verification of an address added with AddEmail, using the token from the emailed link. Must be called as the account that added the address. Refused with `failed_precondition` when another account verified the address first. **Required scopes:** `auth:emails:edit` or `auth:account:edit`