---
title: "Set mailbox as primary"
method: PUT
path: "/2/profile/ksuites/mailboxes/{mailbox_id}/set_primary"
tags: ["kSuite > Workspace"]
---

# Set mailbox as primary

`PUT /2/profile/ksuites/mailboxes/{mailbox_id}/set_primary`

## Path parameters

- `mailbox_id` string, required

## Response `200`

OK

- object
  - `result` 'success' | 'error' | 'asynchronous', required — Result of the HTTP request
  - `data` boolean

## Other responses

- `400` — Mailbox not linked
- `500` — Internal Server Error

---

[API](https://skmtc.dev/infomaniak/apis/api-reference-developer-tools.md) · [All operations](https://skmtc.dev/infomaniak/apis/api-reference-developer-tools/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/infomaniak/api-reference-developer-tools/revisions/158a854b0c7d/schema)
