Rotate an app publishable key
rotate_publishable_keyIssue a new SDK publishable key for an app and return the old key's grace deadline, enabling controlled key rotation.
Instructions
Issue a new SDK publishable key and return the old-key grace deadline.
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": {
"app_id": "<app_id>"
},
"name": "rotate_publishable_key"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| app_id | Yes | The AttriKit app id. | |
| idempotency_key | No | Stable retry key for this exact mutation. |