rename_api_token
Rename an existing cPanel API token to a new name. Provide the current token name and the desired new name to update it.
Instructions
Rename an existing API token
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": {
"name": "<name>",
"new_name": "<new_name>"
},
"name": "rename_api_token"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Current token name | |
| new_name | Yes | New token name |