Contents |
URL
https://api.geoloqi.com/1/layer/delete/:id
Description
Delete the specified layer.
Supported Request Methods
POST
Scope
layer
Parameters
none
Response
Success
If the layer was deleted successfully, you will get a response like the following. All places and triggers associated with this layer will be deleted.
HTTP/1.1 200 OK {"result":"ok"}
Errors
It is not possible to delete the Geonotes layer. If you try, you will get an error 400 "Bad Request".
HTTP/1.1 400 Bad Request { "error":"cannot_delete", "error_description":"Cannot delete the \"Geonotes\" layer" }