Delete a user group.
Delete one team group, so that an integration which mirrors the teams of its own systems can retire a group that no longer exists there.
A group carries the access of its members, and deleting it takes that access with
it: the folders, agents and prompt libraries that were shared with the group are no
longer shared with anybody who reached them only through it. What was shared is not
deleted — the folders and their documents stay, as do the people who were in the group
and everything in their own directories — but nothing restores the sharing except
granting it again in the Galilea application. Read GET /user-groups first: a group
whose numberOfMembers is not zero is somebody's access.
Only team groups can be deleted. The personal group of a user and the group of all users of a tenant are maintained by Galilea and are refused.
There is no rename here. Renaming a group is a decision about how a company organises
itself, and belongs in the Galilea application; an integration holds the id, which a
rename does not change.
Requires the right to delete groups, which is the tenant manager and the administrator.
apiKeyX-API-Key<token>API key issued in the Galilea settings.
userGroupId*stringThe id of the user group, as returned by GET /user-groups.
uuidThe group no longer exists.
curl -X DELETE "https://example.com/user-groups/7f3b2a10-11ef-4c2e-9a71-2b6d5c8e4419"