Uploaded image for project: 'Couchbase Documentation'
  1. Couchbase Documentation
  2. DOC-3429

Read Only Admin REST example is deprecated

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • None
    • None
    • rest

    Description

      The example should read:

      5.0 Syntax:
      curl -X PUT --data "name=<user name>=ro_admin&password=<password>" \
      -H "Content-Type: application/x-www-form-urlencoded" \
      http://<Admin user>:<password>@%s:8091/settings/rbac/users/local/<username>

      Working Example:
      curl -X PUT --data "name=John Smith&roles=ro_admin&password=jspassword" \
      -H "Content-Type: application/x-www-form-urlencoded" \
      http://Administrator:password@127.0.0.1:8091/settings/rbac/users/local/johnsmith

      Reporter: Tim Wong
      E-mail: tim.wong@couchbase.com

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            tony.hillman Tony Hillman (Inactive)
            tim.wong Tim Wong
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty