NOTE: Searches external client grants for all users
Search returns external client grants for all users in the tenant.
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
This API uses OAuth2 with the Client Credential flow. Client Credentials must be sent in the BODY, not the headers. For an example of how to implement this, refer to the c1TokenSource.Token() function.
Body
The ExternalClientSearchServiceSearchRequest message.
Exact-match filter on client_id values (e.g., CIMD URLs). Returns only grants whose client_id matches one of these values.
The pageSize field.
The pageToken field.
Free-text search on client_name and user display name
Filter by specific user IDs
Filter by well-known client type (e.g., CLAUDE_CODE, CURSOR, etc.)
WELL_KNOWN_CLIENT_UNSPECIFIED, WELL_KNOWN_CLIENT_UNKNOWN, WELL_KNOWN_CLIENT_CLAUDE_AI, WELL_KNOWN_CLIENT_CLAUDE_DESKTOP, WELL_KNOWN_CLIENT_CLAUDE_CODE, WELL_KNOWN_CLIENT_MCP_INSPECTOR, WELL_KNOWN_CLIENT_CHATGPT, WELL_KNOWN_CLIENT_VSCODE, WELL_KNOWN_CLIENT_CURSOR, WELL_KNOWN_CLIENT_WINDSURF, WELL_KNOWN_CLIENT_ZED, WELL_KNOWN_CLIENT_JETBRAINS, WELL_KNOWN_CLIENT_DOCKER_MCP_TOOLKIT