How to purge historical analytics data in Portal (Kubernetes deployment)
API Developer Portal 5.2
Connect to coordinator pod.
kubectl exec -it coordinator-0 sh
Run these curl commands to reset all analytics data.
curl --location --request POST "localhost:8081/druid/indexer/v1/supervisor/apim_metrics_hour/reset"
curl --location --request POST "localhost:8081/druid/indexer/v1/supervisor/apim_metrics/reset"
curl --location --request POST "localhost:8081/druid/indexer/v1/supervisor/resumeAll"
=> {"status":"success"}/