Execute Database Commands
POST/commands
Execute MongoDB native database commands in batch. All commands are executed sequentially and return a corresponding result array. Supports transaction execution.
Only administrators and CloudBase OpenAPI can invoke this endpoint.
Common commands include: find, insert, update, delete, aggregate, createIndexes, etc.
Request
Responses
- 200
- 400
Commands executed successfully
Invalid request parameters