Delete database configuration vi Admin REST API

Is there a way to delete a db configuration via Admin REST API

I’m only able to add a db configuration with this rest call:

https://docs.couchbase.com/sync-gateway/2.1/admin-rest-api.html#/database/put__db___config

Thanks in advance.

Hi, you’re able to delete a database using this API:
https://docs.couchbase.com/sync-gateway/2.1/admin-rest-api.html#/database/delete__db__

E.g:

curl -X DELETE http://localhost:4985/db1/