Roles

Get all Redis Software roles

Changed on

Get all Redis Software roles configured in the cluster.

get/v1/roles

Request

  • Base URL
    https://localhost:9443
  • URL
    https://localhost:9443/v1/roles
  • Auth
    API key in header r-auth-user

Response

List of roles

account_idinteger

Account ID. Only applicable to account-scoped roles.

management'none' | 'db_viewer' | 'cluster_viewer' | 'db_member' | 'cluster_member' | 'user_manager' | 'admin' required

Name of the management role.

namestring required

Role's name.

uidinteger required

Role's unique uid.

Example response

[
  {
    "management": "cluster_member",
    "name": "DBA",
    "uid": 1
  }
]

Changes

    • warning

      removed the optional property ///// from the response with the status

    • warning

      added the new db enum value to the /////// response property for the response status

    • info

      removed the bdb enum value from the /////// response property for the response status