hornet icon

hornet

Interact with hornet API

Actions452

Mailboxes → Mailboxes Reassignment Post

AI-generated

Summary

Reassign a mailbox by sending a POST request to the Hornet API with the specified object ID and optional filter/pagination parameters.

Inputs

  • object_id (required) — The ID of the object (user, customer, or partner) whose mailbox is to be reassigned. Sent as a query parameter.
  • APP-ID (required) — Application identifier header for authenticating the request.
  • sort — Sorting criteria for the request body. Expected as a JSON object.
  • limit — Number of items per page for paginated results.
  • page — Page index for pagination.
  • last_owner — The previous owner of the mailbox.
  • description — Description field for the mailbox.
  • external_id — External mailbox ID, e.g., O365 or Active Directory identifier.
  • currently_unassigned — Filter to include only currently unassigned mailboxes.
  • query — General query string for filtering mailboxes.
  • requestOptions.batching.batchSize — Number of items per batch for throttling requests. -1 disables batching; 0 is treated as 1.
  • requestOptions.batching.batchInterval — Delay in milliseconds between batches. 0 disables the interval.
  • requestOptions.allowUnauthorizedCerts — Whether to accept SSL certificates that cannot be validated (insecure).
  • requestOptions.proxy — HTTP proxy to use for the request, optionally with credentials.
  • requestOptions.timeout — Timeout in milliseconds for waiting for server response headers.

Output shape

object

The raw JSON response returned by the Hornet API after processing the reassignment request, typically containing details of the reassignment operation.

Examples

Example 1: Reassign a mailbox for a specific user with pagination and filtering.

Set object_id to the user's ID, provide APP-ID header, optionally define sort, limit, page, and filter by last_owner or query.

Links

Discussion