Delete a spatial index

delete

/spatialviewer/api/v1/spark/indexes/{indexName}

Request

Path Parameters
Back to Top

Response

Supported Media Types

200 Response

successful request
Body ()
Root Schema : DeleteSparkIndexJobResponse
Type: object
Show Source
Back to Top

Examples

The following example shows how to delete a Spark index named TweetsJune by submitting a DELETE request on the REST resource using cURL.

curl -v -X DELETE "http://localhost:8045/spatialviewer/api/v1/spark/indexes/TweetsJune" -H  "accept: application/json" 

Example of Response Header

The following shows an example of the response header.

HTTP/1.1 200 OK Date: Wed, 15 Nov 2017 17:50:38 GMT Access-Control-Allow-Origin: * Access-Control-Allow-Credentials: true Access-Control-Allow-Methods: GET, POST, DELETE, PUT Access-Control-Allow-Headers: Content-Type, Accept Transfer-Encoding: chunked  Content-Type: application/json

Example of Response Body

The following example shows the contents of the response body in JSON format:

{"status" : "success", "title" : "Delete Spark index.", "o:successCode" : "SV-05008", "response" : "TweetsJune"} 
Back to Top