Delete a spatial index

delete

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

Request

Path Parameters
Back to Top

Response

Supported Media Types

200 Response

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

Examples

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

curl -v -X DELETE "http://localhost:8045/spatialviewer/api/v1/hadoop/indexes/tweetsJanuary" -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 index.", "o:successCode" : "SV-05001", "response" : "tweetsJanuary"} 
Back to Top