Skip to main content

Validates a token

GET <your-unleash-url>/auth/reset/validate

Authorization

name: Authorizationtype: apiKeyin: header

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

Request

Responses

tokenUserSchema

Schema
  • id integer required

    The user id

  • name string

    The name of the user

  • email string required

    The email of the user

  • token string required

    A token uniquely identifying a user

  • createdBy string nullable required

    A username or email identifying which user created this token

  • role objectrequired

    A role holds permissions to allow Unleash to decide what actions a role holder is allowed to perform

  • id integer required

    The role id

  • type string required

    A role can either be a global root role (applies to all projects) or a project role

  • name string required

    The name of the role

  • description string

    A more detailed description of the role and what use it's intended for

Authorization

name: Authorizationtype: apiKeyin: header

Request

Base URL
<your-unleash-url>
apiKey
curl / cURL
curl -L -X GET '<your-unleash-url>/auth/reset/validate' \
-H 'Accept: application/json' \
-H 'Authorization: <API_KEY_VALUE>'