hornet icon

hornet

Interact with hornet API

Actions452

Service Dashboard → Service Dashboard Role Assignments Role Assignment Id Post

AI-generated

Summary

Assigns a role via a POST request to the hornet Service Dashboard API.

Inputs

  • role_assignment_id (required) — The ID of the role assignment to act upon (used in the request path).
  • APP-ID (required) — Application identifier sent as a custom header.
  • object_id (required) — The ID of the object (user, customer, or partner) associated with the role assignment.
  • target_id (required) — The ID of the target object (user, customer, or partner) for the role assignment.
  • role_id (required) — The ID of the role to assign.

Output shape

object

Typically returns the created or updated role assignment details from the API.

Examples

Example 1: Assign a role to a user.

Provide the role_assignment_id, set APP‑ID header, specify object_id (user), target_id (entity), and role_id. Optional request options (proxy, timeout, SSL, batching) can be adjusted as needed.

Links

Discussion