9min

Delete a Document

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 24 Mar 2022
Did this page help?
Yes
No