Remove One Custom Role from One Project
Removes one custom role from the specified project. You can't remove a custom role that would leave one or more child roles with no parent roles or actions. You also can't remove a custom role that would leave one or more database users without roles.
Request
- Base URLhttps://cloud.mongodb.com
- Auth
- OAuth 2Client credentialsToken URLhttps://cloud.mongodb.com/api/oauth/token
- or HTTP digest
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
Unique 24-hexadecimal digit string that identifies your project. Use the /groups endpoint to retrieve all projects to which the authenticated user has access.
NOTE: Groups and projects are synonymous terms. Your group id is the same as your project id. For existing groups, your group/project id remains the same. The resource and corresponding endpoints use the term groups.
Human-readable label that identifies the role for the request. This name must be unique for this custom role in this project.
Query parameters
Flag that indicates whether Application wraps the response in an envelope JSON object. Some API clients cannot access the HTTP response headers or status code. To remediate this, set envelope=true in the query. Endpoints that return a list of results use the results object as an envelope. Application adds the status parameter to the response body.
Flag that indicates whether the response body should be in the prettyprint format.
Response
No Content
Changes
No recorded changes to this operation across all 1 revision of this API.