POST
/
emails
/
{id}
/
set_primary
Marks the email address as primary email
curl --request POST \
  --url https://{tenant_id}.hanko.io/emails/{id}/set_primary
This response does not have an example.
Deprecated. Please use the Flow API instead. What’s the Flow API?.

Authorizations

hanko
string
cookie
required

Path Parameters

id
string<uuid4>
required

ID of the email address

Example:

"c339547d-e17d-4ba7-8a1d-b3d5a4d17c1c"

Response

201

Email has been set as primary