AI Gateway
Update gateway token key
Changed onUpdate gateway token key within the authenticated Telnyx account. Foreign and unknown resource IDs return the same 404 response. Omitted fields are preserved. Null clears max_parallel_requests; null resets budget and rate limits to their maximum. A stale If-Match returns 412.
patch/llm_token_gateway/token_keys/{id}
Request
- Base URL: https://api.telnyx.com/v2
- URL: https://api.telnyx.com/v2/llm_token_gateway/token_keys/{id}
- Auth: HTTP bearer
Headers
Idempotency-Keystring required
24h, scoped by account+method+path. Same key/body returns same outcome; changed body 409; in-progress 409 with Retry-After. Token-create replay returns 200 metadata WITHOUT secret.
If-Matchstring required
Exact quoted resource-version ETag; an exact intermediary-weakened echo W/"n" is accepted. Wildcard, combined and malformed validators are rejected; stale 412; missing 428. HTTP field names are case-insensitive. Replayed idempotent result is checked first.
Request body
Response
OK
Changes
- info
endpoint added
- info