1. Session
Proxy302 API
  • Auth
    • Issue the Basic authorization value
      GET
    • Current API key identity
      GET
  • Directory
    • List areas by granularity
      GET
    • List payways (price plans) for a static product
      GET
    • List live-verified ISPs for dynamic ASN targeting
      GET
  • Purchase
    • Buy static traffic proxy
      POST
    • Buy static IP proxy
      POST
    • Buy dynamic traffic proxy
      POST
    • Buy dynamic IP proxy by area
      POST
  • Proxy List
    • List owned proxy tokens
      GET
  • Traffic & Usage
    • Traffic consumption by day and pool category
      GET
    • Usage chart series
      GET
    • Spend chart by legacy category (PTC)
      GET
    • Remaining traffic pool balance
      GET
  • Renewal
    • Renew a static IP (paid)
      POST
    • Toggle auto renewal
      PUT
  • IP Whitelist
    • List the token's whitelisted source IPs
      GET
    • Bind a source IP to the token
      POST
    • Unbind a source IP from the token
      DELETE
  • Session
    • Reset sticky sessions (new exit IP, same credential)
      DELETE
    • Reset sticky sessions via X-HTTP-Method-Override: DELETE
      POST
  • 数据模型
    • LegacyEnvelope
    • MeResult
    • AreaRow
    • PaywayRow
    • IspCatalogRow
    • PurchaseRequest
    • DynamicPurchaseRequest
    • PurchaseResult
    • TokenPage
    • TokenRow
    • ConsumeLogSummary
    • UsageSummary
    • CostSummary
    • TrafficPoolRemaining
    • TrafficPoolRow
    • RenewRequest
    • RenewResult
    • AutoRenewToggleResult
    • WhitelistAddRequest
    • IpWhitelistView
    • SessionResetRequest
    • SessionResetView
默认模块Proxy302 APIProxy302 API
默认模块Proxy302 APIProxy302 API
  1. Session

Reset sticky sessions (new exit IP, same credential)

DELETE
/open_api/v3/proxy/sessions

Rotates the provider-side sticky session segment of every listed live sticky bridge credential: the token's username, password, whitelist and billing stay untouched and the next connection exits through a new IP (applies within ~150s). Idempotent-safe: retrying the same request rotates again rather than failing. Unknown, foreign, deleted or expired token ids answer 404 'Token not found: '; static, rotating and non-bridge credentials answer 422. The batch is atomic — any failure rolls the whole request back and nothing rotates.

请求参数

Authorization
Basic Auth
在 Header 添加参数
Authorization
,其值为在 Basic 之后拼接空格,以及经过 Base64 编码的 username:password
示例:
Authorization: Basic *****************
or
Body 参数application/json必填

示例
{
    "token_ids": [
        "410512",
        "410514"
    ]
}

请求示例代码

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request DELETE '/open_api/v3/proxy/sessions' \
--header 'Authorization: Basic <encoded-value>' \
--header 'Content-Type: application/json' \
--data '{
    "token_ids": [
        "410512",
        "410514"
    ]
}'

返回响应

🟢200
application/json
HTTP 200 always; judge by envelope code
Bodyapplication/json

示例
{
    "code": 0,
    "msg": "success",
    "data": {
        "results": [
            {
                "token_id": "410512",
                "rotated_sessions": 3
            },
            {
                "token_id": "410514",
                "rotated_sessions": 2
            }
        ],
        "apply_within_seconds": 150
    }
}
修改于 2026-10-26 19:27:05
上一页
Unbind a source IP from the token
下一页
Reset sticky sessions via X-HTTP-Method-Override: DELETE
Built with