Users

Update a User

patch/api/users/{id}

Request

  • Base URL: https://openorigin-api.maxsimov.pro
  • URL: https://openorigin-api.maxsimov.pro/api/users/{id}
  • Auth: OAuth 2 (password, token URL /api//openapi-auth)

Request body

rolesstring[] nullable
namestring
githubUsernamestring nullable
aiInterestsstring nullable
emailstring
usernamestring
resetPasswordTokenstring nullable
resetPasswordExpirationstring nullable
saltstring nullable
hashstring nullable
loginAttemptsnumber nullable
lockUntilstring nullable
passwordstring nullable

Response

User object

idstring required
rolesstring[] nullable
namestring required
githubUsernamestring nullable
aiInterestsstring nullable
updatedAtstring required
createdAtstring required
emailstring required
usernamestring required
resetPasswordTokenstring nullable
resetPasswordExpirationstring nullable
saltstring nullable
hashstring nullable
loginAttemptsnumber nullable
lockUntilstring nullable
passwordstring nullable

Changes

No recorded changes to this operation across all 1 revision of this API.