update_user_access_control
Modify database user permissions by updating ACL categories, commands, keys, and channels for Valkey/Redis instances on Vultr.
Instructions
Update access control for a database user (Valkey/Redis only).
Args: database_id: The database ID or label username: The username to update acl_categories: ACL categories (e.g., ["+@all"]) acl_channels: ACL channels (e.g., [""]) acl_commands: ACL commands acl_keys: ACL keys (e.g., [""])
Returns: Status message confirming update
Input Schema
Name | Required | Description | Default |
---|---|---|---|
acl_categories | No | ||
acl_channels | No | ||
acl_commands | No | ||
acl_keys | No | ||
database_id | Yes | ||
username | Yes |
Input Schema (JSON Schema)
{
"properties": {
"acl_categories": {
"anyOf": [
{
"items": {
"type": "string"
},
"type": "array"
},
{
"type": "null"
}
],
"default": null,
"title": "Acl Categories"
},
"acl_channels": {
"anyOf": [
{
"items": {
"type": "string"
},
"type": "array"
},
{
"type": "null"
}
],
"default": null,
"title": "Acl Channels"
},
"acl_commands": {
"anyOf": [
{
"items": {
"type": "string"
},
"type": "array"
},
{
"type": "null"
}
],
"default": null,
"title": "Acl Commands"
},
"acl_keys": {
"anyOf": [
{
"items": {
"type": "string"
},
"type": "array"
},
{
"type": "null"
}
],
"default": null,
"title": "Acl Keys"
},
"database_id": {
"title": "Database Id",
"type": "string"
},
"username": {
"title": "Username",
"type": "string"
}
},
"required": [
"database_id",
"username"
],
"type": "object"
}