Validates a token

If the token is valid returns the user that owns the token

Authentication

Authorizationstring
API key needed to access this API
OR
AuthorizationBearer
API key needed to access this API, in Bearer token format

Response

tokenUserSchema
idinteger
The user id
emailstring
The email of the user
tokenstring
A token uniquely identifying a user
createdBystring or null
A username or email identifying which user created this token
roleobject
A role holds permissions to allow Unleash to decide what actions a role holder is allowed to perform
namestring or null
The name of the user

Errors