DEV Community

Timothy Spann.   ๐Ÿ‡บ๐Ÿ‡ฆ
Timothy Spann. ๐Ÿ‡บ๐Ÿ‡ฆ

Posted on • Originally published at datainmotion.dev on

Deleting Schemas From Cloudera Schema Registry

Deleting Schemas From Cloudera Schema Registry

It is very easy to delete schemas from Cloudera Schema Registry if you need to do so. I recommend downloading them and having a backup first.

Let's look at our schema

Well let's get rid of that junk.

Here is the documentation For CDF Datahub in CDP Public Cloud

https://docs.cloudera.com/cdf-datahub/7.0.2/using-schema-registry/topics/csp-deleting-schemas.html

Example

curl -X DELETE "http://MYSERVERHASACOOLNAME.DEV:7788/api/v1/schemaregistry/schemas/ junk" -H "accept: application/json"

Where junk is the name of my schema.

You could call this REST API from NiFi, a DevOps tool or just a simple CURL like listed above.

Knox and other security may apply.

Top comments (0)