hornet icon

hornet

Interact with hornet API

Actions452

General Onboarding → Thirdparty Sso Exclude Post

AI-generated

Summary

Excludes a user from third‑party SSO by sending a POST request. Identify the user with object_id (must be a User) or optionally mailbox_id. Provide the APP‑ID header. Set the excluded flag via the boolean body parameter (default true). Additional request options control batching, SSL verification, proxy, and timeout.

Inputs

  • object_id — The object identifier. The object must be a User.
  • mailbox_id — ID of a mailbox. Will be used as the preferred selector if given together with an object_id.
  • APP-ID (required) — A unique identifier specific to your app issued by us.
  • excluded (required) — Indicates whether the user is excluded from the SSO workflow.

Output shape

The raw HTTP response from the Hornet API (typically JSON).

Success indicates the user's SSO exclusion status has been updated.

Examples

Example 1: Exclude a user by their object ID

Set object_id to the user's ID, keep excluded as true (default), provide your APP‑ID in the header.

Example 2: Include a mailbox selector

Provide both object_id and mailbox_id; the node will prefer mailbox_id when both are present.

Example 3: Re‑include a user in SSO

Set excluded to false while keeping the same identifiers and APP‑ID header.

Links

Discussion