Current user
Returns the model of the authenticated user.
Args: auth_context: The authentication context.
Returns: The model of the authenticated user.
Authorizations
OAuth2passwordRequired
Token URL:
Responses
200
Successful Response
application/json
Response model for user and service accounts.
This returns the activation_token that is required for the user-invitation-flow of the frontend. The email is returned optionally as well for use by the analytics on the client-side.
bodyany ofOptional
or
nullOptional
metadataany ofOptional
or
nullOptional
resourcesany ofOptional
or
nullOptional
idstring · uuidRequired
permission_deniedbooleanOptionalDefault:
falsenamestring · max: 255Required
401
Unauthorized
application/json
404
Not Found
application/json
422
Unprocessable Entity
application/json
get
/api/v1/current-userLast updated
Was this helpful?