capabilities.work

Change an API key's roles in a project

One step with MongoDB. We can help you get access.

Get something done

Change an API key's roles in a project

with MongoDB

Use MongoDB: its Mongodb Programmatic API Keys API lets you change an API key's roles in a project in a single step (PATCH /api/atlas/v2/groups/{groupId}/apiKeys/{apiUserId}). capabilities.work can help you get signed up and connected.

  • Can I change the roles granted to an API key in a project?
  • What happens to roles I leave out when updating a project API key?
Say it to your AI assistant
  • Set the roles of API key {apiUserId} in project {groupId} to {roles}.
  • Update organization API key {apiUserId} in project {groupId}.
For your developer

PATCH /api/atlas/v2/groups/{groupId}/apiKeys/{apiUserId} in Mongodb Programmatic API Keys API. Full spec on APIs.io.