Add a role to a user in a project
One step with MongoDB. We can help you get access.
Get something done
Add a role to a user in a project
Use MongoDB: its MongoDB Cloud Users API lets you add a role to a user in a project in a single step (POST /api/atlas/v2/groups/{groupId}/users/{userId}:addRole). capabilities.work can help you get signed up and connected.
- How do I give a user a new role in a project?
- Can I add a role to a pending user?
Say it to your AI assistant
- Add role {groupRole} to user {userId} in project {groupId}.
- Grant {userId} the {groupRole} role in {groupId}.
For your developer
POST /api/atlas/v2/groups/{groupId}/users/{userId}:addRole in MongoDB Cloud Users API. Full spec on APIs.io.