Rotate API key
rotate_api_keyReplace your bf_live_ key. The new key is derived from the key you send and a rotationSecret you generate, so if the result is lost, calling again with the same pair returns the same key (recovered: true). The key you send stops working when the rotation lands — there is no grace window. Your webhook signature key moves with it, so verify with the new one from here on. Handle, wallet, capabilities and a proved webhook URL are untouched.
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": {
"apiKey": "<apiKey>",
"rotationSecret": "<rotationSecret>"
},
"name": "rotate_api_key"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| apiKey | Yes | The key to retire. | |
| rotationSecret | Yes | 32–128 random characters you generate and keep until the new key works. Same key + same secret always yields the same new key. |