Skip to Content
Xeonr Developer Docs
API SpecificationCurrent User

Remove Email

POST
/xeonr.auth.api.v1.MeService/RemoveEmail

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

Authorization

AuthorizationBearer <token>

JWT access token obtained via OAuth2 flow or service account

In: header

Header Parameters

Connect-Protocol-Version?number

Define the version of the Connect protocol

Connect-Timeout-Ms?number

Define the timeout, in ms

Request Body

application/json

email?string

The address to remove from the caller's set.

Formatemail
Length3 <= length <= 254
[key: string]?never

Response Body

application/json

application/json

curl -X POST "https://auth.xeonr.io/xeonr.auth.api.v1.MeService/RemoveEmail" \  -H "Connect-Protocol-Version: 1" \  -H "Connect-Timeout-Ms: 1000" \  -H "Content-Type: application/json" \  -d '{}'
{}