---
title: "Create a personal access token"
method: POST
path: "/v3/personal-access-tokens/{id}/rotate"
tags: ["PersonalAccessTokens"]
---

# Create a personal access token

`POST /v3/personal-access-tokens/{id}/rotate`

Creates a new personal access token.

## Path parameters

- `id` string, required

## Response `200`

OK

- PersonalAccessTokenSecretDto
  - `accessToken` string, required

## Other responses

- `400` — Bad Request
- `401` — Unauthorized
- `403` — Forbidden
- `404` — Not Found
- `409` — Conflict
- `429` — Too Many Requests
- `500` — Server Error

---

[API](https://skmtc.net/cryptlex/apis/cryptlex-web-api.md) · [All operations](https://skmtc.net/cryptlex/apis/cryptlex-web-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/cryptlex/cryptlex-web-api/versions/ec1259c12475/schema)
