Update email (initiate verification)
PUT
/me/email
const url = 'https://example.com/me/email';const options = { method: 'PUT', headers: {'Content-Type': 'application/json'}, body: '{"email":"example"}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request PUT \ --url https://example.com/me/email \ --header 'Content-Type: application/json' \ --data '{ "email": "example" }'Request Body required
Section titled “Request Body required ” Media type application/json
object
email
required
string
Example generated
{ "email": "example"}