# Custom Database Roles Returns, adds, edits, and removes custom database user privilege roles. Use custom roles to specify custom sets of actions that the MongoDB Cloud built-in roles can't describe. You define custom roles at the project level, for all clusters in the project. This resource supports a subset of MongoDB privilege actions. You can create a subset of custom role actions. To create a wider list of custom role actions, use the MongoDB Cloud user interface. Custom roles must include actions that all project's clusters support, and that are compatible with each MongoDB version that your project's clusters use. For example, if your project has MongoDB 4.2 clusters, you can't create custom roles that use actions introduced in MongoDB 4.4. ## Operations - [Return All Custom Roles in One Project](https://www.mongodb.com/docs/api/doc/atlas-admin-api-v2/2024-10-23/operation/operation-listgroupcustomdbroleroles.md) - [Create One Custom Role](https://www.mongodb.com/docs/api/doc/atlas-admin-api-v2/2024-10-23/operation/operation-creategroupcustomdbrolerole.md) - [Return One Custom Role in One Project](https://www.mongodb.com/docs/api/doc/atlas-admin-api-v2/2024-10-23/operation/operation-getgroupcustomdbrolerole.md) - [Remove One Custom Role from One Project](https://www.mongodb.com/docs/api/doc/atlas-admin-api-v2/2024-10-23/operation/operation-deletegroupcustomdbrolerole.md) - [Update One Custom Role in One Project](https://www.mongodb.com/docs/api/doc/atlas-admin-api-v2/2024-10-23/operation/operation-updategroupcustomdbrolerole.md) [Powered by Bump.sh](https://bump.sh)