POST: Delete Data

Delete documents based on the given query. See Delete in the Language Spec for details of the document posted.

Request

Body of request is a JSON document matching the request JSON schema.

Delete data for given entity and specific version.

POST /data/delete/{entityName}/{version}
{request JSON document}

Delete data for given entity using default version.

POST /data/delete/{entityName}
{request JSON document}

Response: Success

On success returns a response JSON document.

Response: Errors

  • crud:NoAccess - caller doesn't have access required to save the document
  • mongo-crud:NullQuery - query in request is missing

results matching ""

    No results matching ""