Pangolin icon

Pangolin

Interact with the Pangolin API

Actions142

Organization → List roles.

AI-generated

Summary

Retrieve a list of roles associated with a specified organization by providing its Org ID.

Inputs

  • Org ID (required) — The unique identifier of the organization to list its roles.
  • Options — Optional parameters to modify the output, including whether to return the full raw response or split each role into individual items.

Output shape

a list of role items or a single full response object depending on the Raw Response option.

By default, the operation returns each role as an individual item in an array. If the 'Raw Response' option is enabled, it returns the complete response object without splitting into individual items.

Examples

Example 1: List roles in an organization with ID '1234' and get split items per role.

Set 'Org ID' to '1234', leave 'Raw Response' unchecked.

Example 2: List roles and receive the complete raw API response for Org ID '1234'.

Set 'Org ID' to '1234', enable 'Raw Response' option.

Discussion