Rotate API key
rotate_api_keyCreates a replacement with the same scopes and returns the secret once; the old key keeps working until you revoke it.
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": {
"keyId": "<keyId>"
},
"name": "rotate_api_key"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| keyId | Yes | Key id | |
| organizationId | No | Approved workspace id only. |