hornet icon

hornet

Interact with hornet API

Actions452

Groups → Groups Members Group Id Put

AI-generated

Summary

Add an object to a group

Inputs

  • group_id (required) — ID of the group to which the object will be added
  • object_id — ID of the object (user, customer, or partner) to add to the group
  • mailbox_id — ID of a mailbox to use as the preferred selector when object_id is provided
  • APP-ID (required) — Application identifier issued by Hornet Security, sent as a header

Output shape

object

Returns the JSON response from the Hornet API confirming the membership addition

Examples

Example 1: Add a user to a group with a preferred mailbox

Set group_id to the target group's ID, object_id to the user's ID, mailbox_id to the desired mailbox ID, and provide a valid APP‑ID header

Links

Discussion