Set which user groups a user belongs to
One step with Harness. We can help you get access.
Get something done
Set which user groups a user belongs to
with Harness
Works with AI assistants
Use Harness: its Harness User API lets you set which user groups a user belongs to in a single step (PUT /ng/api/user/add-user-to-groups/{userId}). Harness also has an MCP server, so an AI assistant like Claude or ChatGPT can do it for you. capabilities.work can help you get signed up and connected.
- How do I put an existing Harness user into a set of user groups?
- Does adding a user to groups remove them from their other groups?
Say it to your AI assistant
- Put user {userId} into user groups {userGroupIdsToAdd}, replacing their other non-managed groups.
- Reassign user {userId}'s group membership in project {projectIdentifier} to {userGroupIdsToAdd}.
For your developer
PUT /ng/api/user/add-user-to-groups/{userId} in Harness User API. Full spec on APIs.io.