---
title: "Marks the email address as primary email"
method: POST
path: "/emails/{id}/set_primary"
tags: ["Email Management"]
deprecated: true
---

# Marks the email address as primary email

`POST /emails/{id}/set_primary`

> **Deprecated.**

## Path parameters

- `id` string, uuid4, required

## Response `201`

Email has been set as primary

## Other responses

- `400` — Bad Request
- `401` — Unauthorized
- `500` — Internal server error

---

[API](https://skmtc.dev/hanko/apis/hanko-admin-api.md) · [All operations](https://skmtc.dev/hanko/apis/hanko-admin-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/hanko/hanko-admin-api/revisions/d22a127b0978/schema)
