Pangolin icon

Pangolin

Interact with the Pangolin API

Actions142

Resource → List roles that have access to a resource.

AI-generated

Summary

Retrieve a list of roles that have access rights to a specified resource identified by its Resource ID.

Inputs

  • Resource ID (required) — The unique identifier of the resource for which to list roles with access.
  • Options — Optional settings such as 'Raw Response' to return the full API response instead of individual role items.

Output shape

a list of role objects that have access to the specified resource, or the full raw response if requested

If 'Raw Response' is enabled, outputs a single item containing the complete response JSON; otherwise, each role is output as an individual item within the list.

Examples

Example 1: List roles for a resource with ID '12345'

Provide '12345' in 'Resource ID' and leave 'Raw Response' unchecked to receive each role as separate output items.

Example 2: Retrieve full raw response for roles on resource '12345'

Provide '12345' in 'Resource ID' and enable 'Raw Response' option to get the whole API response in one item.

Discussion