Authenticate admin or service account
Authenticate an admin or service account and receive a short-lived JWT access token and a long-lived refresh token.
Pass the returned `accessToken` as `Authorization: Bearer <token>` on all admin API calls.
> **End-user tokens** are returned by `/api/DigitalIdentity/Register` and login flows — not by this endpoint.
Authentication
ApiKeystring
Static API key issued to your tenant. Obtain from the Vlens dashboard.
Headers
TenancyName
Your Vlens tenant name.
Request
This endpoint expects an object.
tenancyName
Your Vlens tenant name.
userNameOrEmailAddress
Admin username or email address.
password
Response
Authentication successful.
data
error_code
error_message
error_descriptions

