Update customer key
update_keyChange stripe_customer_id, monthly_quota or rate_per_minute of an existing key; the key itself stays the same. Applies to requests received afterwards; recorded usage keeps its original customer. Omitted fields keep their value, null clears stripe_customer_id or monthly_quota.
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": {
"gateway": "<gateway>",
"key_id": "<key_id>"
},
"name": "update_key"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key_id | Yes | ||
| gateway | Yes | ||
| monthly_quota | No | ||
| rate_per_minute | No | ||
| stripe_customer_id | No |