apikeys_rotate_api_key
Revoke an existing API key and get a replacement. Requires human confirmation. Store the new key immediately and pass it via the X-DataNexus-Key header.
Instructions
⚠️ DESTRUCTIVE — requires human confirmation before use in automated pipelines. Revoke the current API key and issue a replacement. Returns the new key once — store it immediately. Pass keys as the X-DataNexus-Key header.
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": {
"current_key": "<current_key>"
},
"name": "apikeys_rotate_api_key"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| current_key | Yes | Existing active API key (dnx_...) to revoke and replace. Required. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||