Release a Sticky Session

If you need to remove a Proxy from a sticky session you can make the following request

A. Curl Request

Example:

curl -X PUT -d port=10005 -u <username>:<api_key> https://monitor.geonode.com/release/<service>

Example:

curl -X PUT -d port=10005 -u username_xxxx:api_key_xxxxx https://monitor.geonode.com/release/RESIDENTIAL-PRIVATE



You will see your username and api_key on the dashboard service page.

service following values are:

RESIDENTIAL-PRIVATE
RESIDENTIAL-PREMIUM


(Optional) If you want a specific custom session ID to be released, use -d session=<yourSessionId>
Example:

curl -X PUT -d port=10008 -d sessionId=randomString123 -u username_xxxx:api_key_xxxxx https://monitor.geonode.com/release/RESIDENTIAL-PRIVATE


B. HTTP Request


Get Authorization `Bearer token`:

Javascript:

btoa('<username>:<api_key>')

(Optional) If you want a specific session ID to release, use the body.
Example:



When successful your request will respond with {"success": True}