Update UserAccount
Request body
Example request
{
"accountId": "098098098098098",
"name": "darth#6755",
"avatarId": "098098098087097",
"platform": "DISCORD",
"activateToken": "jkhvuygi643jh35g53",
"user": "63b428f7d9ca4f6ff5370d05"
}Response
Example response
{
"_id": "63b428f7d9ca4f6ff5370d05",
"user": {
"_id": "5f9f1b9b9b9b9b9b9b9b9b9b",
"identityEthAddress": "0xAAB27b150451726EC7738aa1d0A94505c8729bd1",
"rewardsEthAddress": "0xAAB27b150451726EC7738aa1d0A94505c8729bd1",
"username": "darth"
},
"accountId": "098098098098098",
"name": "darth#6755",
"avatarId": "098098098087097",
"platform": "DISCORD",
"activateToken": "jkhvuygi643jh35g53"
}Changes
Changed in 13 of the 50 revisions of this API.1814
- ○
endpoint added
endpoint-added
- ○
- ▲
api path removed without deprecation
api-path-removed-without-deprecation
This revision also has 56 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ▲
- ▲
the
nameresponse property's minLength was decreased from4to2for the response status200response-property-min-length-decreased
- ○
the
namerequest property's minLength was decreased from4to2request-property-min-length-decreased
- ▲
- ▲
the
nameresponse property's maxLength was increased from20to32for the response status200response-property-max-length-increased
- ○
the
namerequest property's maxLength was increased from20to32request-property-max-length-increased
- ▲
- ○
endpoint added
endpoint-added
- ○
- ▲
api path removed without deprecation
api-path-removed-without-deprecation
This revision also has 52 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ▲
- ○
endpoint added
endpoint-added
- ○
- ▲
api path removed without deprecation
api-path-removed-without-deprecation
This revision also has 52 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ▲
- ▲
the
userresponse's property type/format changed fromstring/toobject/for status200response-property-type-changed
- ○
added the required property
user/_idto the response with the200statusresponse-required-property-added
- ○
added the required property
user/createdAtto the response with the200statusresponse-required-property-added
- ○
added the required property
user/identityEthAddressto the response with the200statusresponse-required-property-added
- ○
added the required property
user/rewardsEthAddressto the response with the200statusresponse-required-property-added
- ○
added the required property
user/rolesto the response with the200statusresponse-required-property-added
- ○
added the required property
user/updatedAtto the response with the200statusresponse-required-property-added
- ○
added the required property
user/usernameto the response with the200statusresponse-required-property-added
- ▲
- ○
endpoint added
endpoint-added
- ○