hornet icon

hornet

Interact with hornet API

Actions452

Mailboxes → Mailboxes Deputy Put

AI-generated

Summary

Update deputy list for a mailbox

Inputs

  • mailbox_id (required) — Mailbox identifier sent as a query parameter
  • APP-ID (required) — Application identifier sent in the request header
  • deputies (required) — JSON array of email addresses for deputies sent in the request body
  • deputy_state (required) — Boolean indicating whether the deputy list should be active (true) or inactive (false), sent in the request body

Output shape

API response from the Hornet service (typically JSON)

Returns the result of the PUT request; error details are thrown if the request fails.

Examples

Example 1: Activate a list of deputies for mailbox 123

Set mailbox_id=123, APP-ID header to your app ID, deputies=[‘alice@example.com’,‘bob@example.com’], deputy_state=true

Links

Discussion