Web Service Method: Delete a Document from Search Index
Abstract
Web Service Method: Delete a Document from Search Index
Description |
---|
This method deletes an existing entry from the search index identified by the given document URI. |
URL: /GraphSearch/api/content/delete/id
Request
Supported Method |
---|
POST |
application/json
Attribute Name | Type | Comment |
---|---|---|
| URL | URI of the document to be deleted |
| String | Identifier of the target Search Space |
Note
If you do not specify a searchSpaceId
, the response will list results for the default Search Space.
Response
text/plain
Status: 200 - OK
Example
Delete the document identified by the URI 'https://en.wikipedia.org/wiki/Mojito
' from the search index:
{ "identifier":"https://en.wikipedia.org/wiki/Mojito", "searchSpaceId" : "1321f5a1-3ee9-4317-a33a-65d6cfa5ce40" }