hornet icon

hornet

Interact with hornet API

Actions452

Mailboxes → Mailboxes Reassignment Mailbox Id Put

AI-generated

Summary

Reassign a mailbox to a new assignee (user/customer/partner) by updating its ownership. Requires the mailbox ID, object ID, assignee ID, data‑protection confirmation, and APP‑ID header.

Inputs

  • object_id (required) — The ID of an object (user, customer or partner). It is sent as a query parameter.
  • mailbox_id (required) — The ID of the mailbox to be reassigned. It is part of the request path.
  • APP-ID (required) — A unique identifier specific to your app issued by Hornet. Sent as a request header.
  • assignee_id (required) — Object ID of a user with owner rights to the soft‑deleted mailbox. Sent in the request body.
  • data_protection_confirmation (required) — Confirmation that data‑protection requirements are met. Sent in the request body.

Output shape

object

Returns the API response from the PUT request, typically the updated mailbox resource or a success status.

Examples

Example 1: Reassign mailbox 123 to user 456 for customer 789

Set object_id=789, mailbox_id=123, assignee_id=456, data_protection_confirmation=true, and provide your APP‑ID in the header.

Links

Discussion