Update User Token (v2)
Updates the settings of an existing user token using scope names. At least one field must be provided. Scopes are specified by name (scopeNames); scope ids are not supported in v2.
Headers
A unique request identifier.
"1448a179-93c0-4bad-815e-5da83901f5f7"
API key for authentication.
"lhgfaslk21490FAScVPkdsb53F9dNkfHG4faZSG5vfjndfcfgdssdgsdHF4663"
User-specific authentication key.
"eyJlYW4iOiJVbnJlZ2lzdGVyZWRBcHBsaWNhdGlvbiIsImVrIjoiOE5sZ2cwcW5EUVdROUFNWGpXT2lmOWktZnpidG5KcUlqWGJ3WHJZZkpZcldrbG90ZEhvLVBjSWhQaU8xU1ZtMW84aU1WZGZqN2xWNzFjLXFxLmcybXE1dnh4Q1hUT25xaWRUaTFlcEhmVk1fIn0_"
Path Parameters
The unique identifier of the agent-portfolio.
The unique identifier of the user token to update.
Body
An updated set of permission scope names for the token. Available scopes: etoro-public:trade.real:read, etoro-public:trade.real:write, etoro-public:trade.demo:read, etoro-public:trade.demo:write.
[
"etoro-public:trade.real:read",
"etoro-public:trade.real:write"
]An updated set of IPv4 addresses allowed to use this token.
["192.168.1.1"]An updated expiration date and time (UTC) for the token.
"2026-12-31T23:59:59Z"
Response
User token updated successfully