---
title: "Refreshes a users access token using the refresh and ID tokens"
method: PUT
path: "/tokens/self"
tags: ["Tokens"]
---

# Refreshes a users access token using the refresh and ID tokens

`PUT /tokens/self`

## Request

- Base URL: `/v1` (relative, and the document’s source URL is not known)
- URL: `/v1/tokens/self`
- Auth: none required

## Headers

- `ID` string, required
- `Refresh` string, required

## Response `201`

Created

- ExpirationTime
  - `expirationTime` string: Expiration Time, UTC ISO 8601

## Other responses

- `400`: Request rejected due to invalid parameters supplied
- `403`: Forbidden. Expired or invalid refresh token
- `500`: Failed to process the request due to an internal error

---

[API](https://skmtc.dev/office-of-national-statistics/apis/identity-api.md) - [All operations](https://skmtc.dev/office-of-national-statistics/apis/identity-api/llms.txt) - [OpenAPI document](https://skmtc.dev/office-of-national-statistics/apis/identity-api/revisions/6472459b6b03?raw)
