---
title: "Get user access token. New password used only for users who need to update it."
method: POST
path: "/users/get_token"
tags: ["users"]
---

# Get user access token. New password used only for users who need to update it.

`POST /users/get_token`

## Request body

- TokenRequest
  - `username` string, required
  - `password` string, password, required
  - `tenant_name` string, required
  - `new_password` string, password, nullable

## Response `200`

Successful Response

- KeycloakToken — Keycloak representation of a token object Attributes: access_token (str): An access token
  - `access_token` string, required

## Other responses

- `422` — Validation Error

---

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