---
title: "POST /api/personal-access-tokens"
method: POST
path: "/api/personal-access-tokens"
tags: ["personal-access-tokens"]
---

# POST /api/personal-access-tokens

`POST /api/personal-access-tokens`

## Request

- The document declares no server URL.
- Auth: API key in header `Authorization`
- TypeScript: <https://skmtc.dev/fermyon/apis/fermyon-cloud-api/docs/api/personal-access-tokens/post.ts> (a function with typed inputs; its response is checked against the schema)

## Headers

- `Api-Version` string

## Request body

- CreatePersonalAccessTokenCommand
  - `name` string, required

## Response `200`

Success

- PersonalAccessTokenValue
  - `name` string
  - `token` string
  - `id` string, uuid

## Changes

- **2023-03-10** `4650ad92794e`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/fermyon/apis/fermyon-cloud-api/changes/api/personal-access-tokens/post.md)

---

[API](https://skmtc.dev/fermyon/apis/fermyon-cloud-api.md) - [All operations](https://skmtc.dev/fermyon/apis/fermyon-cloud-api/llms.txt) - [OpenAPI document](https://skmtc.dev/fermyon/apis/fermyon-cloud-api/revisions/78d366daf86a?raw)
