hornet icon

hornet

Interact with hornet API

Actions452

Service Dashboard → Service Dashboard Role Assignments Post

AI-generated

Summary

Assign a role via the Hornet Service Dashboard API

Inputs

  • APP-ID (required) — Unique identifier for your app issued by Hornet. Sent as a request header.
  • object_id (required) — ID of the object (user, customer, or partner) initiating the assignment. Sent in the request body as a number.
  • target_id (required) — ID of the object (user, customer, or partner) to which the role is assigned. Sent in the request body as a number.
  • role_id (required) — ID of the role to assign. Sent in the request body as a number.

Output shape

The raw JSON response from the Hornet Service Dashboard endpoint for role assignment.

If batching is enabled via Request Options, the node will split incoming items into batches according to the configured batch size and interval.

Examples

Example 1: Assign role ID 5 to target object ID 123 on behalf of object ID 456

Set APP‑ID header, object_id = 456, target_id = 123, role_id = 5

Links

Discussion