Update API Key
Updates an existing API key's settings. Requires a Provisioning API key.
Common Properties
- Name - The custom name of the node.
- Color - The custom color of the node.
- Delay Before (sec) - Waits in seconds before executing the node.
- Delay After (sec) - Waits in seconds after executing node.
- Continue On Error - Automation will continue regardless of any error. The default value is false.
Inputs
- Connection Id - The connection identifier from Connect node (optional if API Key is provided).
- Hash - API key hash identifier to update. Required and cannot be empty.
- Name - Optional new display name for the API key.
- Disabled - Optional. Set to true to disable the key, false to enable it.
- Credit Limit - Optional new credit limit.
- Include BYOK in Limit - Optional. Update BYOK limit setting.
Options
- API Key - OpenRouter Provisioning API key credential.
warning
Requires a Provisioning API key. Not supported with Robomotion AI Credits.
Output
- Updated API Key - Updated API key metadata.
Examples
Example 1: Disable a Key
Inputs:
- Connection Id: msg.connection
- Hash: "abc123"
- Disabled: true
Output: Key is now disabled and cannot be used for API calls.
Example 2: Update Key Limit
Inputs:
- Connection Id: msg.connection
- Hash: "abc123"
- Credit Limit: 200.00
Output: Key limit increased to $200.
Example 3: Rename Key
Inputs:
- Connection Id: msg.connection
- Hash: "abc123"
- Name: "Production Key v2"
Output: Key renamed to "Production Key v2".