Delete Data Store

To delete a data store, use the following request:

DELETE /settings/data_stores/:id.xml
DELETE /settings/data_stores/:id.json

XML Request Example

curl -i -X DELETE http://onapp.test/settings/data_stores/12.xml -u user:userpass -H 'Accept: application/xml' -H 'Content-type: application/xml' 

JSON Request Example

curl -i -X DELETE http://onapp.test/settings/data_stores/12.json -u user:userpass -H 'Accept: application/json' -H 'Content-type: application/json'

Returns HTTP 204 response on successful deletion, or HTTP 404 when a data sore with the ID specified is not found, or the URL requested is incorrect.