---
title: "Reset runner's authentication token"
method: POST
path: "/api/v4/runners/{id}/reset_authentication_token"
tags: ["runners"]
---

# Reset runner's authentication token

`POST /api/v4/runners/{id}/reset_authentication_token`

## Request

- Base URL: `https://gitlab.com`
- URL: `https://gitlab.com/api/v4/runners/{id}/reset_authentication_token`
- Auth: none declared

Resets the authentication token for a specified runner.

## Path parameters

- `id` integer, required

## Response `201`

Reset an authentication token for a runner

- APIEntitiesCiResetTokenResult: API_Entities_Ci_ResetTokenResult model
  - `token` string, required
  - `token_expires_at` string

## Other responses

- `403`: No access granted
- `404`: Runner not found
- `422`: Unprocessable Entity

---

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