cortex_renew_user_key
Renew a user's API key by invalidating the old key and generating a new one. Requires superadmin privileges.
Instructions
Generate a new API key for a user (invalidates the previous key). Requires superadmin API key.
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": {
"userId": "<userId>"
},
"name": "cortex_renew_user_key"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| userId | Yes | The user login/ID to renew the key for |