Update a stateful session
Change a session's name, status or rules. Your client keeps the same connection string; the next request picks up the change. Renaming is the exception: the username is stateful-<name>, so a rename changes it.
Send only what you want to change. In ruleset, an omitted field keeps its stored value and an explicit null clears a geo field or network_type. lookalike, rotation_trigger and error_handling cannot be null.
Changing a geo field to a different value clears the fields beneath it that you did not send: changing country clears region, city, isp, asn and zip; changing region clears city, isp, asn and zip; changing city clears isp, asn and zip. isp, asn and zip never clear one another.
Set status to disabled to stop a session carrying traffic without losing its name, port or rules, and back to enabled to resume. Re-enabling binds a new node; if none is available the call returns 502 and the session stays disabled.
Requires the proxy:packages:write scope.
Request
- Base URLhttps://api.platform.soax.com
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
The ID of the proxy package (UUID format)
The ID of the stateful session (UUID format)
Request body
Response
Successful Response
Changes
No recorded changes to this operation across all 1 revision of this API.