I have created one rest-api instance in marklogic.I am able to delete/add the documents in some already existing database using curl easily.
Can somebody Please help on how to create n delete the database using curl command and how can we parameterized the command to delete associated forests and app-servers.
Also I am able to delete the rest-api instance that I created i.e, appserver itself but not associated database and forests.
Thanks in advance..!!
You can create, delete, and modify app servers, databases, forests, and just about everything else through the Management API. For instance, here's how you delete a forest called "example":
You can also delete a REST API app server, along with its content and modules databases and their forests, in one command: