11min

Remove Search Document

DELETE /{appname}/search/{servicename}/{key}

This command removes a document from the search index. If you need to modify the search document, remove the search document, modify the document, and then re-add the document to the search index.

Parameters

Path Parameters

  • appname - string - the name of your hyper cloud application.
  • servicename - string - the name of your hyper cloud service. see Parameters.
  • 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 _ $ + -

Example

Node.js
Curl
|

Responses

Status Code

Description

Example Response

201

Success

{"ok": true}

404

Not Found

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

500

Error

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

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