Roles

Get a single Redis Software role

Changed on

Get a single role by unique ID.

get/v1/roles/{uid}

Request

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

Path parameters

uidinteger required

The role unique ID.

Response

Role information.

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