Skip to main content
Skip table of contents

Return the current user [VC 21.3.1 GEN]

This resource will return the username of the calling user. This can for example be used to validate user credentials, or get the username of the caller when using token authorization.

GET /whoami

Validates the currently used credentials and returns the calling users username.

Status Codes:
  • 200 OK – The credentials are correct.

  • 401 Unauthorized – The credentials are incorrect.

Produces:
  • text/plain – $USERNAME

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.