I know I can use the command:
curl -X PUT http://admin:[email protected]:5984/_config/admins/admin -d '"password"'
to add a new admin to the server. How do I go about removing an admin user?
You should be able to DELETE the user admin
that you setup with:
curl -X DELETE http://admin:[email protected]:5984/_config/admins/admin
Note this is a bad example as you're deleting the user that you're authenticating as. The last part of the URL admin
is the name of the user.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With