> ## Documentation Index
> Fetch the complete documentation index at: https://docs.salessequencer.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Apply one action to many mailboxes

> Applies action to the listed mailbox ids (ids outside the workspace are silently ignored). Actions: enable_sending, disable_sending, add_tag (needs tag), remove_tag (needs tag), set_name (needs first_name and/or last_name), remove (DELETES the mailboxes), enable_warmup, disable_warmup, warmup_links_on, warmup_links_off, set_warmup_target (needs value, min 1), set_daily_limit (needs value, min 0). No ids or an unknown action flashes a hint and changes nothing.

**Minimum role:** `edit` (`x-min-role`). **Destructive:** `true` (`x-destructive`).



## OpenAPI

````yaml /openapi.json post /mailboxes/bulk
openapi: 3.0.3
info:
  title: Sales Sequencer API
  version: '1'
  description: >-
    Every Sales Sequencer action over HTTP. Each call runs as the API key's
    creator, with that user's role, in the key's workspace. Auth: X-API-Key
    header.
servers:
  - url: https://api.salessequencer.com/api/v1
security:
  - key: []
paths:
  /mailboxes/bulk:
    post:
      tags:
        - Mailboxes
      summary: Apply one action to many mailboxes
      description: >-
        Applies action to the listed mailbox ids (ids outside the workspace are
        silently ignored). Actions: enable_sending, disable_sending, add_tag
        (needs tag), remove_tag (needs tag), set_name (needs first_name and/or
        last_name), remove (DELETES the mailboxes), enable_warmup,
        disable_warmup, warmup_links_on, warmup_links_off, set_warmup_target
        (needs value, min 1), set_daily_limit (needs value, min 0). No ids or an
        unknown action flashes a hint and changes nothing.


        **Minimum role:** `edit` (`x-min-role`). **Destructive:** `true`
        (`x-destructive`).
      operationId: mailboxes_bulk
      parameters: []
      requestBody:
        content:
          application/json:
            schema:
              properties:
                action:
                  description: One of the actions listed in the description.
                  type: string
                first_name:
                  description: For set_name.
                  type: string
                ids:
                  description: Repeatable. Mailbox ids.
                  type: array
                  items:
                    type: integer
                last_name:
                  description: For set_name.
                  type: string
                tag:
                  description: Tag for add_tag / remove_tag.
                  type: string
                value:
                  description: For set_warmup_target and set_daily_limit.
                  type: integer
              required:
                - action
                - ids
              type: object
      responses:
        '200':
          description: Redirect back; flash like 'Turned sending on for N mailboxes.'
components:
  securitySchemes:
    key:
      in: header
      name: X-API-Key
      type: apiKey

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.