---
title: "Rotate runner token"
method: POST
path: "/v0/runners/{runner}/token"
tags: ["runners"]
---

# Rotate runner token

`POST /v0/runners/{runner}/token`

➕ Bencher Plus: Generate a new token for a runner, invalidating the old one. The user must be an admin to use this endpoint. Returns the new token which is only shown once.

## Path parameters

- `runner` string, required

## Response `201`

successful creation

- JsonRunnerToken — Runner token response (returned on create or rotate)
  - `token` string, required
  - `uuid` string, uuid, required

## Other responses

- `4XX` — Error
- `5XX` — Error

## Changes

- **2026-03-20** `36c8ad753527` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/bencherdev/apis/bencher-api/changes/v0/runners/:runner/token/post.md)

---

[API](https://skmtc.dev/bencherdev/apis/bencher-api.md) · [All operations](https://skmtc.dev/bencherdev/apis/bencher-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/bencherdev/bencher-api/revisions/36c8ad753527/schema)
