Skip to main content

Insert, replace or delete a MongoDB document

POST 

/plugin-api/databases/:hostId/connections/:connId/mongo/:action

Insert takes a document, replace takes the _id and the new document, delete takes the _id. All as Extended JSON text. Needs edit access to the host, a connection that is not read only, and is written to the audit log.

Request​

Responses​

The result.