USER_MANAGEMENT_API scope. It does not run as the person who created the key, so it keeps working after that admin leaves the workspace.
Base URL
Prerequisites
- API Key with the
USER_MANAGEMENT_APIscope - The API key must be created by a workspace admin
Behavior
nameis required. It is trimmed and at most 100 characters. An empty name returns400.descriptionis optional. Omit it and the description is empty. It is trimmed and at most 2000 characters.- Unknown fields, including
isPublic, return400. The new group is not public. - The API key’s creator is not added to the group.
memberCountis0andisScimManagedisfalse. - A group already uses this name, ignoring case? Returns
409withcode: "GROUP_NAME_TAKEN"and messageA group with this name already exists. - The product UI and SCIM can still contain groups that share a name. This check applies when you create or rename a group through this API.
- Returns
201with{ "group": { ... } }. The fields match List Groups.
Langdock intentionally blocks browser-origin requests to protect your API key and ensure your applications remain secure. For more information, please see our guide on API Key Best Practices.