Required Permissions
Your root key must have one of the following permissions:api.*.update_key(to update keys in any API)api.<api_id>.update_key(to update keys in a specific API)
Side Effects
Invalidates the key cache for immediate effect, and makes permission changes available for verification within 30 seconds across all regions.Request
Specifies which key receives the additional permissions using the database identifier returned from
keys.createKey.Do not confuse this with the actual API key string that users include in requests.Pattern: ^[a-zA-Z0-9_]+$Example: key_2cGKbMxRyIzhCxo1Idjz8qThe permissions to set for this key.This is a complete replacement operation - it overwrites all existing direct permissions with this new set.Key behaviors:
- Providing an empty array removes all direct permissions from the key
- This only affects direct permissions - permissions granted through roles are not affected
- All existing direct permissions not included in this list will be removed
^[a-zA-Z0-9_:\-\.\*]+$Example: ["documents.read", "documents.write"]Response
Complete list of all permissions currently assigned to the key.Important: This list does NOT include permissions granted through roles. For a complete permission picture, use
keys.getKey instead.