PATCH
/
user
/
{id}
Update User
curl --request PATCH \
  --url https://server26-dot-royalti-project.uc.r.appspot.com/user/{id} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: multipart/form-data' \
  --form 'firstName=<string>' \
  --form 'lastName=<string>' \
  --form 'ipi=<string>' \
  --form 'role=<string>' \
  --form 'nickName=<string>' \
  --form 'userType=<string>' \
  --form 'phone=<string>' \
  --form 'country=<string>' \
  --form file=@example-file
{}

Authorizations

Authorization
string
header
required

JWT Authorization header using the Bearer scheme. Format: "Bearer {token}"

Path Parameters

id
string
required

User ID

Body

multipart/form-data

Response

200
application/json

success

The response is of type object.