i am new in influxDB, i want to delete some data from influxDB from postman. I am using below query from postman
"data":{
"start": "2021-01-09T12:00:00Z",
"stop": "2021-01-09T12:00:00Z",
"predicate": "_measurement=\"mymesurement\""
}
}
Also provided the Authorization token and content-type in the header
But when i executed the command it is giving me below error
{
"code": "invalid",
"message": "invalid request; error parsing request json: invalid RFC3339Nano for field start, please format your time with RFC3339Nano format, example: 2009-01-02T23:00:00Z"
}
Also tried in CLI but still getting the same error.
influx delete
--bucket 'mybucket'\
--org 'myorg' \
--token 'mytoken'
--start '2009-01-02T00:00:00.001Z' \
--stop '2009-01-02TT00:00:00.001Z' \
--predicate '_measurement=mymesurement'
Kindly help me to resolve the issue. Thanks in advance