Skip to main content
PATCH

Authorizations

Authorization
string
header
required

User JWT access token issued by POST /api/auth/verify or POST /api/auth/social/verify. Routes that accept both auth modes declare api-key and bearer-jwt security schemes.

Headers

x-signature
string

HMAC-SHA256 signature: HMAC-SHA256(secretKey, timestamp + METHOD + path + body). Required for API-key authenticated requests (JWT/OAuth session auth is exempt).

x-timestamp
string

Request timestamp in epoch milliseconds. Required with x-signature for API-key auth. Rejected if drift exceeds 5 minutes.

Body

application/json

OpenAPI schema McpPatchUserBodyDto; omit fields you do not want to change.

avatarFilename
string

Avatar filename; omit to leave unchanged. GraphQL allows null to clear.

languageCode
enum<string>
Available options:
EN,
PT,
ES,
RU,
FR,
JA,
UK,
TR
username
string
virtualWalletMode
boolean

Virtual trading mode (true) vs real wallet (false)

Response

Updated user.

success
boolean
required
Example:

true

data
object
required

Endpoint-specific payload