Pangolin icon

Pangolin

Interact with the Pangolin API

Actions142

Role → Get a role.

AI-generated

Summary

Retrieve detailed information about a specific role by providing its unique Role ID.

Inputs

  • Role ID (required) — The unique identifier of the role you want to retrieve.
  • Options — Optional settings including whether to return the full raw response instead of parsing it.

Output shape

a single JSON object representing the role's details

If the 'Raw Response' option is enabled, the full response is returned unaltered; otherwise, the response is parsed. Errors are returned in a standard error envelope when failure occurs.

Examples

Example 1: Retrieve details for role with ID 'abc123'

Set 'Role ID' to 'abc123', leave 'Raw Response' unchecked to get parsed role data.

Discussion