Update an API key
oneguard_keys_updateUpdate an existing OneGuard key's permission, key-management or vault-creation capability, and vault scope; omitted fields keep their current values.
Instructions
Changes an existing key permission, key-management capability, vault-creation capability or vault scope. Omitted fields keep their current value. The current key must have key-management permission, and it can never grant a scope wider than its own. The key can be named by id / 8-character prefix, or exact name.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key | Yes | Key id, 8-character prefix, or exact name. | |
| vaults | No | Vault ids/prefixes, or "all". Omit to keep the current vault scope. | |
| permission | No | New permission: read or write. | |
| can_create_keys | No | Allow or disallow creating/managing keys. | |
| can_create_vaults | No | Allow or disallow creating vaults (write only). |