User Area

Update the current user's profile.

patch/api/account/profile

Request

  • The document declares no server URL.
  • Auth: API key in cookie JWT and API key in header X-XSRF-TOKEN

Request body

firstNamestring required

A name on the profile (legacy User validations on first/last name): at most 40 characters, none of the characters in the pattern; blank is allowed.

lastNamestring required

A name on the profile (legacy User validations on first/last name): at most 40 characters, none of the characters in the pattern; blank is allowed.

Response

The request has succeeded.

idinteger required
firstNamestring nullable required
lastNamestring nullable required
namestring nullable required
emailstring nullable required
adminboolean nullable required
canAccessAdminboolean required
assistantMessagesCountinteger nullable required
createdAtstring date-time required
createdAtAsTimestampinteger nullable required
type'user' required

Changes

    • breaking

      added to the request property allOf list

    • breaking

      added to the request property allOf list

    • warning

      removed from the request property allOf list

    • warning

      removed from the request property allOf list