Skip to main content

index/interfaces/UpdateProfileData.md

Data required for updating user profile

Properties​

PropertyTypeDescription
address?AddressFormatWallet address in either format: "0x..." (Ethereum) or "eth|..." (GalaChain). Optional: the backend updates the user of the JWT; one given is only validated.
fullName?stringUser's full name: 2..20 letters, a second word allowed (the backend's rule; trimmed)
privateKey?stringOptional private key override for this operation (format: '0x' + 64 hex characters)
profileImage?string | nullProfile image URL. '' clears the image; omitted or null leaves it as it is (the backend skips a null). At least one of fullName and profileImage is required.