Skip to content

POST Update Session Config endpoint.

Endpoint

POST/web/v1/system/security/sessions/config WEB

Authentication

  • Chain: WEB
  • JWT Token: true
  • API Key: false
  • Permissions: []
  • Secure Channel: REQUIRED

Rate Limit

Standard rate limit applies.

Headers

Frontend Headers

HeaderRequiredDescription
X-LOCALEYes用户的 locale
Accept-LanguageNo语言偏好

Cloudflare Headers

HeaderRequiredDescription
CF-Connecting-IPYesClient IP from Cloudflare
CF-IPCountryYesClient country code
CF-RayYesCloudflare Ray ID
CF-VisitorYesVisitor scheme
CF-WorkerNoCloudflare Worker indicator
CF-TCP-PortNoClient TCP port
CF-Edge-Keep-AliveNoEdge keep-alive status
CF-Cache-StatusNoCache status
CDN-LoopNoCDN loop detection
X-Real-IPYesReal client IP

Nginx Headers

HeaderRequiredDescription
X-PORTAL-ACCESS-CODEYesPortal access code
X-Real-IPYes客户端真实 IP
X-Forwarded-ForYes代理链
X-Forwarded-ProtoYes协议

Request Parameters

Body (JSON)

FieldTypeRequiredDescription
ssoEnabledBooleanNowhether SSO is enabled
maxSessionsIntegerNomaximum concurrent sessions (1-5)

Response

200 OK

FieldTypeDescription
data.accountBizIdStringaccount business ID
data.ssoEnabledBooleanwhether SSO is enabled
data.maxSessionsIntegermaximum concurrent sessions
data.passwordChangedAtInstantlast password change timestamp
data.lastLoginAtInstantlast login timestamp
data.lastLoginIpStringlast login IP (masked for privacy)

Phase 3 Simulation

SlaunchX Internal Documentation