Pangolin icon

Pangolin

Interact with the Pangolin API

Actions142

User → Check that a user belongs to an organization and has the specified role.

AI-generated

Summary

Verify if a specified user belongs to a given organization and holds a required role within it.

Inputs

  • Org ID (required) — The identifier of the organization to check membership against.
  • User ID (required) — The identifier of the user whose membership and role are being verified.
  • Options — Optional settings such as 'Raw Response' to return full response data instead of individual items.

Output shape

a single JSON object representing the check result or the full API response if raw output is enabled.

By default, the operation returns a parsed JSON object indicating membership and role status. If 'Raw Response' option is enabled, it returns the complete response data from the API without transformation.

Examples

Example 1: Check if user '12345' is a member of organization 'abcde' with the specified role.

Set 'Org ID' to 'abcde', 'User ID' to '12345', and optionally enable 'Raw Response' to get the full raw API response.

Discussion