---
title: "Validates a token"
method: GET
path: "/auth/reset/validate"
tags: ["Auth"]
---

# Validates a token

`GET /auth/reset/validate`

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

## Response `200`

tokenUserSchema

- TokenUserSchema — A user identified by a token
  - `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` RoleSchema, required — 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
    - `project` string, nullable — What project the role belongs to

## Other responses

- `401` — Authorization information is missing or invalid. Provide a valid API token as the `authorization` header, e.g. `authorization:*.*.my-admin-token`.
- `415` — The operation does not support request payloads of the provided type. Please ensure that you're using one of the listed payload types and that you have specified the right content type in the "content-type" header.

---

[API](https://skmtc.net/unleash/apis/unleash-api-3.md) · [All operations](https://skmtc.net/unleash/apis/unleash-api-3/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/unleash/unleash-api-3/revisions/b2c3116e633e/schema)
