11min

Delete Key/Value Pair

DELETE /{appname}/cache/{servicename}/{key}

This command deletes the key/value pair from the cache store. When this command completes the key/value pair is removed from the store and can not be recovered.

Parameters

  • appname - the name of your hyper cloud application.
    • servicename - the name of your hyper cloud service within the application.
  • key - string
    • value requirements
      • must begin with a lowercase letter (a-z)
      • must be lowercase letters (a-z)
      • digits (0-9)
      • any of these characters _ $ + -

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 Response

201

Success

{"ok": true}

500

Error

{"ok": false, "msg": "..."}

404

Not Found

{"ok": false, "msg": "key not found"}

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