rotate_account_api_key
Create a replacement for your key, keeping the old key ACTIVE. Requires OAuth security:write.
Returns the replacement secret ONCE with its new ID. Install it in the
consumer, test it, then call revoke_account_api_key with previous_key_id.
Do not revoke until the replacement is working. Each call creates a key;
do not retry blindly after a lost response. Never publish the secret.
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": {
"key_id": "<key_id>"
},
"name": "rotate_account_api_key"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key_id | Yes |