---
title: "# Regenerating refresh token"
method: POST
path: "/v1/auth/refresh"
tags: ["Authentication"]
---

# # Regenerating refresh token

`POST /v1/auth/refresh`

This endpoint regenerates refresh token.
Invalidates previous refresh/access token.
When provided refresh token is expired, a new refresh token should be created from the application itself

## Request body

- object
  - `refresh_token` string

## Response `200`

## Other responses

- `401` — unauthorizedErrorSwagger is represents unauthorized error
- `422` — validationErrorSwagger is represents the erroneous cases
- `default` — genericErrorSwagger is represents the erroneous cases

---

[API](https://skmtc.net/picussecurity/apis/picus-rest-api.md) · [All operations](https://skmtc.net/picussecurity/apis/picus-rest-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/picussecurity/picus-rest-api/versions/cb0d02ee28f8/schema)
