Custom Role Actions
On this page
This document lists the possible
privilege actions
you can assign to custom roles via the Atlas Administration API. Specify one
of these actions in the actions.action
request body parameter when
you create a role or
update a role.
Note
The privilege actions available for custom roles and the custom roles API represent a subset of the privilege actions available for built-in roles.
To review the list of custom role privileges, see the API reference.
Query and Write Actions
Database Management Actions
Change Stream Actions
Server Administration Actions
Session Actions
Global Actions
Diagnostic Actions
Deployment Management Actions
Sharding Actions
ADD_SHARD_TO_ZONE
REMOVE_SHARD_FROM_ZONE
UPDATE_ZONE_KEY_RANGE
To learn more, see Sharding Actions