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
or update a
custom 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.
Query and Write Actions
Database Management Actions
Change Stream Actions
Server Administration Actions
Session Actions
Global Actions
Diagnostic Actions
CHECK_FREE_MONITORING_STATUS
COLL_STATS
CONN_POOL_STATS
DB_HASH
DB_STATS
GET_CMD_LINE_OPTS
GET_LOG
GET_PARAMETER
GET_SHARD_MAP
HOST_INFO
IN_PROG
LIST_DATABASES
LIST_COLLECTIONS
LIST_SHARDS
LIST_INDEXES
NETSTAT
REPLSET_GET_CONFIG
, see Replication ActionsREPLSET_GET_STATUS
, see Replication ActionsSERVER_STATUS
SET_FREE_MONITORINGS
SHARDING_STATE
VALIDATE
TOP
Deployment Management Actions
Sharding Actions
ADD_SHARD_TO_ZONE
REMOVE_SHARD_FROM_ZONE
UPDATE_ZONE_KEY_RANGE
To learn more, see Sharding Actions