Skip to main content
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 \
  --cookie hanko=
{
  "code": 400,
  "message": "Bad Request"
}

Documentation Index

Fetch the complete documentation index at: https://docs.hanko.io/llms.txt

Use this file to discover all available pages before exploring further.

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

Email has been set as primary