Chat icon

Chat

Interact with the Chat API

Actions253

Custom Role → List

AI-generated

Summary

Lists all custom roles for the selected Approach account.

Inputs

  • accountId (required) — Select the account to use.

Output shape

Array of custom role objects returned by the Approach API.

Each item in the array corresponds to a custom role, containing fields such as id, name, description, and permissions as defined by the Approach API.

Examples

Example 1: Fetch custom roles to display in a UI or to filter users by role.

Set the Account parameter to the desired Approach account (either from the list or by ID). No additional parameters are required.

Links

Discussion