Deleting log - muatik/logmon GitHub Wiki
This API delete registered log. Note that this api never touches actual data, log entries; it only deletes log definition from Logmon.
You need to tell only the id of log which you want to delete. This id must be placed in the resource path.
1. Example: Deleting log from Mysql Database
####REQUEST
DELETE /API/v1/log/2412g3b0hg4q48cusrkravuqe503g1123 HTTP/1.1
Host: logmon.com
Cookie: CREDENTIAL_ID=g3b0hg4q48cusrkravuqe503g1
####Response
HTTP/1.1 200 OK
Date: Mon, 09 Dec 2013 14:18:47 GMT
{
"status" : {
"code" : 20,
"message" : "Log has just been deleted successfully."
},
"data" : {
"log" : {
"id" : "2412g3b0hg4q48cusrkravuqe503g1123",
"name" : "applog 1",
"codeName" : "log1"
}
}
}