Why this is set RDF when you are sending JSON?
BTW, You have to add Type Definition on the Schema itself, not wait that Dgraph would infer your data and create the Type Def for you.
To be able to use expand All and Delete, you have to have a well-defined Schema Type along with the “dgraph.type” on your dataset.
Cheers.