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

# POST /uid-rotate-token

`POST /uid-rotate-token`

## 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.net/akeyless/apis/akeyless-api.md) · [All operations](https://skmtc.net/akeyless/apis/akeyless-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/akeyless/akeyless-api/versions/0ceb25634501/schema)
