v1
latestOpenAPI 3.0.1MIT2026-07-26236440.2 KBUpdate Proxy Key
Update an existing proxy key's configuration. Replaces the legacy POST /auth/proxy/update/{proxy_key}; the proxy key identifier is sent in the request body so the URL is static.
post/auth/proxy/update
Request body
Example request
{
"proxy_key": "ek-proxy-1234567890abcdef",
"name": "Updated API Key",
"expires_at": 1735689600,
"allocated_ammount": 15,
"model_whitelist": [
"gpt-4o",
"claude-3-5-sonnet-20241022"
],
"ip_whitelist": [
"192.168.1.0/24",
"203.0.113.42"
]
}Response
Proxy key updated successfully
Example response
{
"message": "Proxy key updated"
}