---
title: "Update the access token"
method: POST
path: "/v2/auth/refresh"
tags: ["API Authorization"]
---

# Update the access token

`POST /v2/auth/refresh`

Returns the access and refresh tokens.

## Headers

- `client-id` string, required
- `client-secret` string, required

## Request body

- RefreshTokenView
  - `refreshToken` string

## Response `200`

Successful authorization.

## Other responses

- `401` — Unsuccessful authorization.

---

[API](https://skmtc.dev/cloudally/apis/cloudally-rest-api.md) · [All operations](https://skmtc.dev/cloudally/apis/cloudally-rest-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/cloudally/cloudally-rest-api/revisions/97e3a3740b5b/schema)
