Update the per-session egress proxy configuration
PATCH/api/sessions/:sessionId/proxy
Sets or clears the proxy URL. Credentials in proxyUrl are stored but never returned by GET. No restart is performed — changes apply on the next session start.
Request
Responses
- 200
- 400
- 401
- 403
- 404
Updated proxy configuration
Invalid proxyUrl
The API key is missing, unknown, revoked, or expired
Key lacks the ADMIN role, or is restricted to specific sessions. Also returned when the API key's role, session or chat scope, or IP allow-list does not allow this operation.
Session not found