How to change the user password using curl

Hi all,

I am using CB 5.0 community and trying to rotate user password using curl\cli. Can you give change the password.
From what I checked the curl option is only for couchbase enterprise.

Hi @bzc,

You should be able to do it with both Community and Enterprise. Check out the documentation for REST endpoints for RBAC. I think you can just use PUT /settings/rbac/users/local/<user_id>

That link should be listed on this page, no? https://docs.couchbase.com/server/current/rest-api/rest-endpoints-all.html