Pangolin icon

Pangolin

Interact with the Pangolin API

Actions142

Role → Assign a role to a user.

AI-generated

Summary

Assign a specified role to a user by providing the Role ID and User ID.

Inputs

  • roleId (required) — The unique identifier of the role to be assigned to the user.
  • userId (required) — The unique identifier of the user to whom the role will be assigned.
  • options — Optional settings, including whether to return the full raw API response instead of splitting arrays into individual items.

Output shape

A single JSON object representing the API response to the role assignment request.

If 'Raw Response' option is enabled, the full response data is returned as one item; otherwise, arrays in the response are expanded into multiple items if applicable.

Discussion