---
title: "Regenerate authentication token"
method: PUT
path: "/restapi/json/v1/user/regenerateAuthtoken"
tags: ["Authentication"]
---

# Regenerate authentication token

`PUT /restapi/json/v1/user/regenerateAuthtoken`

## Request

- Base URL: `https://Hostname:Port`
- URL: `https://Hostname:Port/restapi/json/v1/user/regenerateAuthtoken`
- Auth: API key in header `AUTHTOKEN`
- TypeScript: <https://skmtc.dev/manageengine/apis/pam360-rest-api/docs/restapi/json/v1/user/regenerateAuthtoken/put.ts> (a function with typed inputs; its response is checked against the schema)

Regenerates a new authentication token for the calling user.

## Headers

- `orgName` string

## Response `200`

New auth token generated

- RegenerateAuthtokenResponse
  - `operation` object
    - `result` OperationResult
      - `message` string: Result message describing the operation outcome
      - `status` string: Operation status
    - `Details` object
      - `AUTHTOKEN` string: The newly generated authentication token for the user.
    - `name` string

---

[API](https://skmtc.dev/manageengine/apis/pam360-rest-api.md) - [All operations](https://skmtc.dev/manageengine/apis/pam360-rest-api/llms.txt) - [OpenAPI document](https://skmtc.dev/manageengine/apis/pam360-rest-api/revisions/44a47abb4bdb?raw)
