Skip to main content
PUT
/
api
/
user
/
update-email
/
Update User Email API Endpoint
curl --request PUT \
  --url https://backend.clipvision.ai/api/user/update-email/ \
  --header 'Authorization: Basic <encoded-value>' \
  --header 'Content-Type: application/json' \
  --data '{
  "email_address": "jsmith@example.com",
  "secret_key": "<string>",
  "new_email_address": "jsmith@example.com"
}'
{
  "new_secret_key": "test_secret_key"
}

Authorizations

Authorization
string
header
required

Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.

Body

application/json
email_address
string<email>
required
Minimum length: 1
secret_key
string
required
Minimum length: 1
new_email_address
string<email>
required
Minimum length: 1

Response

Successfully updated email

new_secret_key
string