hornet icon

hornet

Interact with hornet API

Actions452

Mailboxes → Mailboxes Mailbox Id Post

AI-generated

Summary

Creates or updates a mailbox for a given mailbox ID, associated with an object (user, customer, or partner).

Inputs

  • mailbox_id (required) — Identifier of the mailbox to act upon.
  • object_id (required) — ID of the object (user, customer, or partner) associated with the mailbox.
  • APP-ID (required) — Application identifier issued by Hornet Security, sent as a header.
  • description — Description of the mailbox. Cannot be changed for Office 365 mailboxes.
  • status — Status of the mailbox owner. Defaults to true.
  • environment — ID of the environment.

Output shape

object

Returns the API response body, typically containing the created or updated mailbox details.

Examples

Example 1: Create a mailbox for a user

Set mailbox_id to the target mailbox, object_id to the user's ID, provide APP-ID header, and optionally fill description, status, and environment.

Links

Discussion