Hey guys, I have to delete values. I read the description and tried the following input.
curl --request POST http://localhost:8086/api/v2/delete?org=openhab&bucket=openhab \
--header 'Authorization: Token 4tLFuSQwx2LhWR_rOvpgE7t-2B-kUWs-Uj1ZYgJwL8ZH7aFI5F-v1iAYldWpdkORV26Pavje13lelF5cHpvoeQ=='\
--header 'Content-Type: application/json'\
--data '{
"start": "2020-03-01T00:00:00Z",
"stop": "2023-11-09T00:00:00Z",
"predicate": "_measurement=\"KuhltrueToday\" AND exampleTag=\"KuhltrueToday\""
}'
But I got this error.
[2] 2723091
{"code":"unauthorized","message":"unauthorized access"}--header: command not found
[2]- Done curl --request POST http://localhost:8086/api/v2/delete?org=openhab
Can someone help me?