dropData endpoint missing on dgraph (not on slash)

You can send a cURL command.

curl -s localhost:8080/alter -d '{ "drop_all": true }'

https://dgraph.io/docs/deploy/dgraph-administration/#secure-alter-operations