Delete Type from Schema

How can I delete a type from the schema.
Ratel doesn’t seem to offer a drop button for Types, only for Predicates.
In the docs I could find how to delete a predicate/ attribute:

curl -X POST localhost:8080/alter -d '{"drop_attr": "mypredicate"}'

What’s the equivalent for type?
Or how do I delete a type from the console in ratel?

Thank you!!

Here https://docs.dgraph.io/master/query-language/#deleting-a-type

You can’t do it from Ratel for now.

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.