User

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

Retrieves the attributes for an authenticated user in the Zephr user store. In addition to the standard authenticators, this endpoint also accepts an OAuth bearer token through the Authorization header. The response will only include publicly accessible user attributes.

get/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.

Authorizationstring

An OAuth access token key that references a previously created OAuth token. Such a token can be created using the '/zephr/oauth2/token' endpoint and is expected to have the scope 'user.profile:update'.

Response

OK. The user attributes were successfully retrieved. Returns a single layer JSON object of this user's attributes.

Attributes required

Changes

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