Roles
Update a Redis Software role
Changed onUpdate a role configuration by unique ID.
put/v1/roles/{uid}
Request
- Base URLhttps://localhost:9443
- URLhttps://localhost:9443/v1/roles/{uid}
- AuthAPI key in header r-auth-user
Path parameters
uidinteger required
The role unique ID.
Query parameters
dry_runboolean
Validate the request without persisting changes.
Request body
Example request
{
"management": "cluster_member"
}Response
Role updated successfully.
Example response
{
"management": "cluster_member",
"name": "DBA",
"uid": 1
}Changes
- warning
removed the request property
//// - warning
removed the optional property
////from the response with the status
- warning
- breaking
removed the enum value
bdbof the request property////// - warning
added the new
dbenum value to the//////response property for the response status - info
added the new
dbenum value to the request property////// - info
removed the
bdbenum value from the//////response property for the response status
- breaking