Pangolin icon

Pangolin

Interact with the Pangolin API

Actions142

Role → List roles that have access to a resource.

AI-generated

Summary

Retrieve a list of roles that have access permissions for a specified resource by providing the resource ID.

Inputs

  • Resource ID (required) — The unique identifier of the resource for which to list the roles that have access.
  • Options — Optional settings including 'Raw Response' to return the full API response data instead of splitting arrays into individual items.

Output shape

a list of role objects representing roles with access to the specified resource

The output is an array of roles unless 'Raw Response' option is enabled, in which case the full response is returned as a single JSON object.

Discussion