POST
/
emails
/
{id}
/
set_primary
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
required

ID of the email address

Example:

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

Response

201
_mintlify/placeholder

Email has been set as primary