Delete
/data/values
Deletes all values for a metric, thing and specific period of time.
Required permissions: DELETE_METRIC_VALUE.
Security
HTTP
Type bearer
Header parameters
X-Servitly-Tenant
stringRequired
The name of the target tenant (e.g. acme).
Query parameters
thingId
stringRequired
The identifier of the thing to which the data belong.
Minimum1.0
Exampleabcd1234
metricName
stringRequired
The name of the metric whose values must be deleted.
Maximum1.0
ExamplemetricAbc
startTimestamp
integer (int64) Required
Condition to delete data after a specific timestamp.
Example1578438000000
endTimestamp
integer (int64) Required
Condition to delete data before a specific timestamp.
Example1578438000000
Responses
204
Data successful deleted.
401
User not authenticated.
object
message
string
The error response.
ExampleUser not authenticated
403
User not authorized.
object
message
string
The error response.
ExampleUser not authorized
404
Resource was not found.
object
message
string
The error response.
ExampleResource not found
429
API call rate limit exeeded.
object
message
string
The error response.
ExampleAPI call rate limit exeeded
500
Internal server error.
object
message
string
The error response.
ExampleInternal Server Error