Rotate signing key
rotate_keyRequires sign-in (scope orgs:admin). Create a new signing key for the tenant; the old one stays published until its tokens have expired. Destructive: needs the owner, the orgs:admin scope and an emailed confirmation. The initial request answers confirmation_required with a confirmation_id and mails a 6-digit code to the owner; the person reads the code from their mailbox (this connection cannot) and the request is repeated with the same arguments plus confirmation_id and code.
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": {
"tenant": "<tenant>"
},
"name": "rotate_key"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | No | the 6-digit code the person received by email (ask them; you cannot read it) | |
| resend | No | true (without code) asks for a new code | |
| tenant | Yes | tenant slug | |
| confirmation_id | No | from the confirmation_required answer |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes | The result of the call: the same JSON the REST API returns for this operation (docs/api, the OpenAPI document), or null when there is nothing to return. |