Create group verification request
POST/groups-srv/verifications/requests
This API call creates a reusable group verification request that can be used later to verify user access. Verification requests are useful for defining access control rules that can be referenced by ID.
Purpose:
- Create reusable access control rules that can be referenced by ID
- Define complex verification criteria once and reuse across multiple verification calls
- Centralize access control logic for easier management and updates
Request Structure:
name: Required, a descriptive name for the verification requestdescription: Optional, detailed description of what this verification request checksmatchCondition: Required, determines how multiple filters are combined ("and" or "or")filters: Required array, must contain at least one filter with groupId, groupType, and/or roleFilter
Validation Rules:
name: Required, cannot be emptymatchCondition: Required, must be either "and" or "or"filters: Required, must be a non-empty array- Each filter must specify at least one of:
groupIdorgroupType - If
groupIdis specified, the group must exist - If
groupTypeis specified, the group type must exist - If
roleFilteris provided, it must have validmatchConditionandrolesarray
Business Rules:
- Verification requests are stored and can be referenced by their unique ID
- Use the verification request ID with the GET
/groups-srv/verifications/{verificationId}endpoint to verify user access - Verification requests can be updated or deleted as needed
- Changes to verification requests affect all future verifications using that request ID
Request
Responses
- 200
- 201
- 400
- 401
OK - Verification request updated (if ID already exists)
Created - New verification request created successfully
Bad Request - Invalid verification request data (e.g., missing required fields, invalid filter structure, or malformed request)
Unauthorized - Authentication failed or missing required scope