User

Updates the attributes for an authenticated user in the Zephr user store.

Updates the attributes for an authenticated user in the Zephr user store. The behaviour for the POST and PATCH methods on this endpoint is identical. The provided attributes are saved for the user. Any new attributes are added. Any existing attributes with the same keys are updated. Any existing attributes with different keys remain unchanged. The request can also include an optional 'blaize-validator' property to authenticate a previously partially registered user.

post/blaize/profile

Request

  • Base URL: https://demo-site
  • URL: https://demo-site/blaize/profile
  • Auth: one of:
    • API key in cookie blaize_session
    • API key in query parameter jwt
    • API key in header x-blaize-jwt
    • API key in header x-zephr-jwt
    • HTTP bearer
    • API key in cookie blaize_jwt

Headers

cookiestring

The session cookie.

Request body

blaize-validatorstring

An optional password that can be used to validate an outstanding partial registration.

Response

OK. The message 'User profile updated' is displayed, to confirm that the user attributes were successfully saved.

Changes

No recorded changes to this operation across all 2 revisions of this API.