POST
/
users
/
{id}
/
emails
/
{email_id}
/
set_primary
curl --request POST \
  --url https://{tenant_id}.hanko.io/admin/users/{id}/emails/{email_id}/set_primary \
  --header 'Authorization: Bearer <token>'
This response has no body data.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your API key. Must only be used when using Hanko Cloud.

Path Parameters

id
string
required

UUID of the requested object

email_id
string
required