---
title: "POST /api/v1/{vcs}/access-token"
method: POST
path: "/api/v1/{vcs}/access-token"
---

# POST /api/v1/{vcs}/access-token

`POST /api/v1/{vcs}/access-token`

## Request

- The document declares no server URL.
- Auth: none declared

## Path parameters

- `vcs` string, required

## Request body

- AccessTokenCreate
  - `capabilities` unknown[], required
    - unknown
  - `name` string, required

## Response `200`

- AccessToken
  - `refresh_token` string, required

## Other responses

- `400`
- `403`

## Changes

- **2025-11-05** `608fbb7337aa`: 1 info
  - endpoint added
- **2024-10-03** `2089572474fe`: 1 breaking
  - api path removed without deprecation

[Operation history](https://skmtc.dev/terrateamio/apis/terrateam-terrat-api/changes/api/v1/:vcs/access-token/post.md)

---

[API](https://skmtc.dev/terrateamio/apis/terrateam-terrat-api.md) - [All operations](https://skmtc.dev/terrateamio/apis/terrateam-terrat-api/llms.txt) - [OpenAPI document](https://skmtc.dev/terrateamio/apis/terrateam-terrat-api/revisions/e690d2cffc49?raw)
