hornet icon

hornet

Interact with hornet API

Actions452

Service Dashboard → Service Dashboard Role Assignments Get

AI-generated

Summary

Get role assignments for a Service Dashboard object

Inputs

  • object_id (required) — The ID of an object (user, customer, or partner).
  • role — Optional role name to filter the assignments.
  • grouped — If true, results are grouped by user; otherwise a flat list is returned.
  • APP-ID (required) — Application identifier header required for authentication with the Hornet API.

Output shape

object

Returns the role assignment data from the Hornet Service Dashboard API. The exact structure follows the API response; when grouped is true the data is organized by user identifier.

Examples

Example 1: Fetch all role assignments for a specific user, grouped by user.

Set object_id to the user's ID, leave role empty, set grouped to true, and provide APP-ID.

Links

Discussion