---
title: "POST /uid-rotate-token"
method: POST
path: "/uid-rotate-token"
tags: ["Authentication"]
---

# POST /uid-rotate-token

`POST /uid-rotate-token`

## Request

- Base URL: `https://api.akeyless.io`
- URL: `https://api.akeyless.io/uid-rotate-token`
- Auth: none declared

## Request body

- UidRotateToken: uidRotateToken is a command that rotates an Akeyless Universal Identity token.
  - `fork` boolean: Create a new child token with default parameters
  - `json` boolean: Set output format to JSON
  - `send-manual-ack-token` string: The new rotated token to send manual ack for (with uid-token=the-orig-token)
  - `uid-token` string: The Universal identity token
  - `with-manual-ack` boolean: Disable automatic ack

## Response `200`

uidRotateTokenResponse wraps response body.

- UidRotateTokenOutput
  - `token` string

## Other responses

- `default`: errorResponse wraps any error to return it as a JSON object with one "error" field.

---

[API](https://skmtc.dev/akeyless/apis/identity-access.md) - [All operations](https://skmtc.dev/akeyless/apis/identity-access/llms.txt) - [OpenAPI document](https://skmtc.dev/akeyless/apis/identity-access/revisions/6fbc3858ec88?raw)
