api.*.update_key(to update keys in any API)api.<api_id>.update_key(to update keys in a specific API)
See the API reference for the full HTTP endpoint documentation.
Usage
Flags
string
required
The key ID to remove permissions from. This is the database identifier returned from
keys.createKey, do not confuse it with the actual API key string that users include in requests.string[]
required
Comma-separated list of permission names to remove. You can specify permissions by slug or by permission ID. After removal, verification checks for these permissions will fail unless granted through roles.
Global Flags
Examples
Output
Default output shows the request ID, followed by the remaining direct permissions on the key:--output=json, the full response envelope is returned: