Proxy Keys
Update Proxy Key
Update an existing proxy key’s configuration
POST
Identify the key with body field proxy_key. Legacy POST /v1/auth/proxy/update/ still works but is discouraged.
Authorizations
Enter your API key (starts with 'ek-')
Body
application/json
The proxy key to update (must be one you own)
Required string length:
1 - 256Example:
"ek-proxy-1234567890abcdef"
Name of the proxy key
Maximum string length:
25Example:
"Updated API Key"
Expiration timestamp in seconds (-1 for no expiration)
Example:
1735689600
Allocated credit amount
Required range:
x >= 0Example:
15
Spend window for the allocation
Available options:
daily, weekly, monthly List of allowed models (empty for all models)
Example:
List of allowed IP addresses or CIDR blocks (empty for all IPs)
Example:
Response
Proxy key updated successfully
Example:
"Proxy key updated"
