Rotate API key
rotate_api_keyReplace an API key with a new secret that keeps the same name, expiry and permissions. The old secret stops working at once. The answer holds the new secret once.
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": {
"id": "<id>"
},
"name": "rotate_api_key"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Key ID from list_api_keys. |