root@machine:~# curl -v -X POST http://localhost:8091/controller/changePassword -u <un>:<pwd> -d password=<new-password>
Note: Unnecessary use of -X or --request, POST is already inferred.
* Trying 127.0.0.1:8091...
* Connected to localhost (127.0.0.1) port 8091 (#0)
* Server auth using Basic with user '<un>'
> POST /controller/changePassword HTTP/1.1
> Host: localhost:8091
> Authorization: Basic <basic-header>
> User-Agent: curl/7.81.0
> Accept: */*
> Content-Length: 25
> Content-Type: application/x-www-form-urlencoded
>
* Mark bundle as not supporting multiuse
< HTTP/1.1 400 Bad Request
< Cache-Control: no-cache,no-store,must-revalidate
< Connection: close
< Content-Length: 50
< Content-Type: text/plain
< Date: Tue, 19 Nov 2024 14:37:12 GMT
< Expires: Thu, 01 Jan 1970 00:00:00 GMT
< Pragma: no-cache
< Server: Couchbase Server
< X-Content-Type-Options: nosniff
< X-enterprise-edition-needed: 1
< X-Frame-Options: DENY
< X-Permitted-Cross-Domain-Policies: none
< X-XSS-Protection: 1; mode=block
<
* Closing connection 0
This http API endpoint requires enterprise edition
The last line says This http API endpoint requires enterprise edition
We are using enterprise edition.
One thing to note is that we just updated from community edition. Are there any other setup stuff we need to do so that the server can realize that it is indeed enterprise edition?
We also don’t see the Sync Gateway Architect and other roles in Security section.