cloud_update_database_token
Update an existing InfluxDB Cloud-Dedicated database token's description or permissions, replacing its current permission set with the precise access you specify.
Instructions
Update an existing database token for InfluxDB Cloud-Dedicated cluster. Can update description and/or permissions with precise control.
Permissions format: [{"database": "db_name", "action": "read|write"}, ...] Note: Permissions completely replace existing ones - include all desired permissions. Examples: • No access: use [] • Read-only on 'analytics': [{"database": "analytics", "action": "read"}] • Mixed permissions: [{"database": "logs", "action": "read"}, {"database": "metrics", "action": "write"}] • Full access: [{"database": "", "action": "read"}, {"database": "", "action": "write"}]
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"token_id": "<token_id>"
},
"name": "cloud_update_database_token"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| token_id | Yes | The ID of the token to update | |
| description | No | New description for the token (optional) | |
| permissions | No | Array of permission objects. Each object specifies database and action. Use empty array [] for no-access token. |