Update group selection configuration
PATCH/groups-srv/group-selection/:id
Partially updates an existing group selection configuration.
Only fields present in the body are changed. name and group_selection are optional.
Setting isGroupLoginSelectionEnabled to false clears selectableGroups,
selectableGroupTypes, and sets alwaysShowGroupSelection to false.
Sending isGroupLoginSelectionEnabled: false together with non-empty
selectableGroups / selectableGroupTypes, or with
alwaysShowGroupSelection: true, returns HTTP 400.
A body with no updatable field returns HTTP 400. Empty-string description
is ignored (description cannot be cleared).
After a disable/clear update, the HTTP 200 body of that call can still show the previous lists; the next GET returns the cleared document.
Configurations with owner core cannot be updated (HTTP 403).
Configurations with owner admin or client can be updated.
Authentication:
- Scope:
cidaas:groupselection_write - Caller must be a member of
CIDAAS_ADMINSwith roleADMIN,SECONDARY_ADMIN, orUSERSETUP_MANAGER, or a member of the developer group type (DeveloperGT) with roleAPP_MANAGER
If the body includes id, it must match the path parameter.
Request
Responses
- 200
- 400
- 401
- 403
- 404
- 409
OK - Configuration updated
Bad Request - Invalid payload or path/body id mismatch
Unauthorized
Forbidden - Token fails the group or role check, or the configuration owner is core
Not Found - Configuration does not exist
Conflict - Name already used by another configuration