delete.logs
This service can be used to delete a set of log entries which
meet a specific set of criteria.
About
Supported Formats
XMLJSONPHP
Attributes
Cacheable - No
Cache TTL - N/A
Secure - Yes
Metered - Yes
Limit - 100 Requests
Limit Cycle - 24 Hrs.
Parameters
key - (string) The API key associated with your application. [REQUIRED]
from - (string) If deleting a range of records by date, this must be in YYYY-MM-DD HH:MM:SS format
to - (string) If deleting a range of records by date, this must be in YYYY-MM-DD HH:MM:SS format
type - (string) Filter by type of service associated with the log entry (get, post or delete)
service - (string) Filter by service name
format - (string) Filter by service format (xml, json or php)
- Note that
fromandtodates must both be valid if they are to be used. - Read the documentation for
get.services for valid service names.
- All fields except for
keyare optional.
Example Responses
This service will respond with the standard header information
as well as a deleted field. This field represent the
number of affected log records.
deleted - The number of deleted records, if any
Files
Valid URLs
http://rest.snag.gr/images/delete.logs.xmlhttp://rest.snag.gr/images/delete.logs.jsonhttp://rest.snag.gr/images/delete.logs.php