hornet icon

hornet

Interact with hornet API

Actions452

Mailboxes → Mailboxes Mfa Get

AI-generated

Summary

Retrieves MFA (multi‑factor authentication) settings for a specified mailbox from the Hornet Security API.

Inputs

  • mailbox_id (required) — The ID of the mailbox whose MFA settings are to be fetched. Sent as a query parameter.
  • APP-ID (required) — Application identifier issued by Hornet Security. Sent as a custom HTTP header.
  • requestOptions.batching.batchSize — Number of items per batch when batching is enabled. Default: 50. Use -1 to disable batching.
  • requestOptions.batching.batchInterval — Delay (in milliseconds) between batches. Default: 1000 ms. Use 0 to disable.
  • requestOptions.allowUnauthorizedCerts — Whether to accept insecure SSL certificates. Default: false.
  • requestOptions.proxy — HTTP proxy to use for the request (e.g., http://myproxy:3128). Supports username:password syntax.
  • requestOptions.timeout — Timeout in milliseconds for waiting for response headers. Default: 10000 ms.

Output shape

object

The node returns the JSON payload from the Hornet API’s GET /mailboxes/{mailbox_id}/mfa endpoint, which contains the MFA configuration for the mailbox (fields such as isEnabled, enrolled methods, etc.).

Examples

Example 1: Get MFA settings for mailbox ID 12345

Set Mailbox Id to 12345, provide your APP‑ID, leave request options at defaults.

Links

Discussion