---
title: "Edit many mailboxes at once"
method: PATCH
path: "/mailboxes/bulk/"
tags: ["senders"]
---

# Edit many mailboxes at once

`PATCH /mailboxes/bulk/`

## Request

- Base URL: `https://api.getoneprofile.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://api.getoneprofile.ai/mailboxes/bulk/`
- Auth: one of:
  - API key in header `X-API-Key`
  - HTTP bearer

The daily send limit and sender-profile assignment across the selection. Omitted fields are left unchanged everywhere: 'leave unchanged' and 'set to empty' are different requests.

## Request body

- MailboxBulkUpdateSchema: One edit applied to many mailboxes. A field omitted from the request is left unchanged on every mailbox; a field sent explicitly (even as an empty string) is applied to all of them.
  - `daily_send_limit` union
    - integer
    - unknown
  - `mailbox_ids` string[], required
  - `sender_profile_id` union
    - string, uuid
    - unknown

## Response `200`

Successful Response

- MailboxBulkUpdateResponseSchema
  - `updated` integer, required

## Other responses

- `401`: Unauthorized
- `403`: Forbidden
- `404`: Not found.
- `422`: Invalid request made to the API.
- `500`: Internal server error.
- `502`: Bad gateway error.
- `503`: Service unavailable.

---

[API](https://skmtc.dev/getoneprofile/apis/api-reference-oneprofile.md) · [All operations](https://skmtc.dev/getoneprofile/apis/api-reference-oneprofile/llms.txt) · [OpenAPI document](https://skmtc.dev/getoneprofile/apis/api-reference-oneprofile/revisions/4a6bd71e3f02?raw)
