The delete-collection command is used to delete a collection from the Serverless-json database.

JSON Input Data Format
{
    "id": string,
    "postdata": string
}
id * Specifies the ID of the Serverless.
postdata * Specifies the JSON input data for the record. For example:
* Indicates a mandatory field.

Code Snippets
Here are several code snippets provided for your direct use. Simply select your preferred tool/language by clicking on it.


Successful Response
{
    "result": "OK",
    "payload": "Collection was deleted"
}

Failed Response
{
    "result": "ERR",
    "message": "Error message ..."
}