---
title: "Reset a runner authentication token with the current token"
method: POST
path: "/api/v4/runners/reset_authentication_token"
tags: ["ci_runners"]
---

# Reset a runner authentication token with the current token

`POST /api/v4/runners/reset_authentication_token`

## Request

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

Resets a runner authentication token with the token used to authenticate the request.

## Request body

- PostApiV4RunnersResetAuthenticationToken: Reset a runner authentication token with the current token
  - `token` string, required: The current authentication token of the runner

## Response `201`

Reset a runner authentication token with the current token

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

## Other responses

- `403`: Forbidden
- `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)
