Delete a Document
7min
DELETE /{appname}/data/{servicename}/{_id}
This command deletes a specified document in the datastore of servicename with the _id parameter.
Parameters
Path
- appname - string - the name of your hyper cloud application.
- servicename - string - the name of your hyper cloud service.
- _id - string - unique document identifier.
- See ο»ΏParametersο»Ώ
Examples
Don't forget!
Be sure to set your HYPER environment variable with the value of your hyper app's connection string.
Node.js
Curl
|
ο»Ώ
Responses
Status Code | Description | Example |
200 | Successfully deleted document | {"ok": true } |
500 | Error occured trying to delete | {"ok": false } |
404 | Document Not found | { "ok": false, "msg": "missing"} |
Need Help?
You can always reach out to our support team for any additional assistance on slack.
ο»Ώ

Updated 11 May 2022
Did this page help you?
Yes
No