name and description.
The call is authorized by the workspace API key’s 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
- An empty body returns
400with messageAt least one field must be provided. nameis trimmed and at most 100 characters.descriptionis trimmed and at most 2000 characters.- Unknown fields, including
isPublic, return400. You cannot change whether the group is public. - Renaming to a name another group already uses, ignoring case? Returns
409withcode: "GROUP_NAME_TAKEN"and messageA group with this name already exists. - Sending the group’s current name again is not a rename, including a different letter case. A description change still succeeds when another group already has the same name.
- SCIM managed group? Returns
409withcode: "GROUP_SCIM_MANAGED"and messageThis group is managed by SCIM and cannot be changed through the API.Change it in your identity provider, or remove it from SCIM in the workspace settings first. - Unknown id, a deleted group, or another workspace? Returns
404withcode: "GROUP_NOT_FOUND"and messageGroup not found. groupIdis not a UUID? Returns400.- Returns
{ "group": { ... } }with the same fields as 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.