Update a user
This endpoint allows an client to manually update a user data. Instead of users to self update.
PATCH
/
account
/
users
/
{userId}
Authorizations
Authorization
string
headerrequiredBearer authentication header of the form Bearer <API_KEY>
.
Path Parameters
userId
string
requiredThe ID of the user.
Body
application/json
name
string
The name of the user.
avatarUrl
string
The URL for the profile picture of the user.
phone
string
The phone of the user. Format "+55 11 999999999"
birthDate
string
The date of birth of the user. Format "YYYY-MM-DD HH:mm" (GMT/UTC+0)
cpf
string
The CPF of the user
Response
200 - application/json
id
string
The ID of the user.
name
string
The name of the user.
email
string
The e-mail of the user.
phone
string
The phone of the user.
avatarUrl
string
The URL for the profile picture of the user.
walletAddress
string
The wallet address of the user.
birthDate
string
The date of birth of the user. Format "YYYY-MM-DD HH:mm" (GMT+0)
cpf
string
The CPF of the user
Was this page helpful?