Create group selection configuration
POST/groups-srv/group-selection
Creates a reusable group selection configuration for login.
Manage these configurations in Trustdesk under Group Selection, or via this API.
Applications reference a configuration with group_selection_id (see App Configuration).
Authentication:
- Scope:
cidaas:groupselection_write - Caller must be a member of
CIDAAS_ADMINSwith roleADMIN,SECONDARY_ADMIN, orUSERSETUP_MANAGER(or an app manager in the developer group type, where enabled)
Request rules:
nameis required (^[a-zA-Z0-9_-]+$, max 100 characters) and must be uniquegroup_selectionis required- Optional
id: custom id (^[a-zA-Z0-9_-]+$, max 250). When omitted, a UUID is generated selectableGroups/selectableGroupTypesvalues must exist in the tenant- When
isGroupLoginSelectionEnabledisfalse, selectable lists must be empty andalwaysShowGroupSelectionmust not betrue
Request
Responses
- 201
- 400
- 401
- 409
Created - Group selection configuration created
Bad Request - Invalid payload or unknown group / group type
Unauthorized
Conflict - Configuration with the same id or name already exists