User
Update user preferences
Updates supported preferences for the current account and returns the updated user object.
post/user/preferences
Headers
Idempotency-Keystring uuid
Optional UUID that identifies one mutation request. Reuse it only when retrying the same request.
Request body
Example request
{
"vpnServer": "vpn1.ltesocks.io",
"proxyServer": "ap1.ltesocks.io",
"proxyProtocol": "socks5"
}Response
Successful operation
Example response
{
"login": "user",
"email": "user@example.com",
"balance": 10000,
"portsCount": 3,
"portsLimit": 10,
"discountPercent": 10,
"preferences": {
"vpnServer": "vpn1.ltesocks.io",
"proxyServer": "ap1.ltesocks.io",
"proxyProtocol": "socks5"
}
}Changes
No recorded changes to this endpoint across all 1 revision of this API.