users

Get all users (members) in a group. Supports pagination, filtering by name, email, status, and group membership.

post/api/rpc/queryUsers

Request

  • Base URL: https://21risk.com
  • URL: https://21risk.com/api/rpc/queryUsers
  • Auth: OAuth 2 (client credentials, token URL /api/v1/oauth/token)

Request body

tenantunknown required
querystring
sitesunknown
userTypestring

Valid operands: user, agent. Comma-separated values for OR, semicolon for AND. Use ! to exclude, ^ for exact match, * for any value, !* for empty.

groupsstring

Operands must represent integer IDs, such as "1,2" or "!3". Comma-separated values for OR, semicolon for AND. Use ! to exclude, ^ for exact match, * for any value, !* for empty.

statusstring

Valid operands: activeMember, deleted, neverSeen, passiveMember. Comma-separated values for OR, semicolon for AND. Use ! to exclude, ^ for exact match, * for any value, !* for empty.

namestring

Plain text means contains. Use operators: contains, equal, startswith, endswith. Prefix with ! to negate.

emailstring

Plain text means contains. Use operators: contains, equal, startswith, endswith. Prefix with ! to negate.

includesstring[]

Only include records whose IDs are in this list.

excludesstring[]

Exclude records whose IDs are in this list.

afterstring

Cursor-based pagination: return results after this cursor. Use pageInfo.endCursor from the previous page.

beforestring

Cursor-based pagination: return results before this cursor. Use pageInfo.startCursor from the current/previous page.

lastinteger

Cursor-based pagination: number of results to return before the before cursor. Use for backward pagination.

sort'name' | 'email' | 'status' | 'createdDate'
direction'asc' | 'desc'

Response

Successful response

Changes

No recorded changes to this operation across all 2 revisions of this API.