---
title: "POST /oauth2/token"
method: POST
path: "/oauth2/token"
---

# POST /oauth2/token

`POST /oauth2/token`

Exchange ACR Refresh token for an ACR Access Token

## Response `200`

The request has succeeded.

- AcrAccessToken — The ACR access token response containing the access token for authentication.
  - `access_token` string — The access token for performing authenticated requests

## Other responses

- `default` — An unexpected error response.

## Changes

- **2026-07-13** (2018-08-10-preview) `be283057eb09` — 2 info
  - api tag `AccessToken` removed
  - api tag `AcrToken` removed
- **2026-07-13** (2018-08-10-preview) `9203740b38dd` — 1 info
  - api operation id `GetAcrAccessToken` removed and replaced with `Authentication_ExchangeAcrRefreshTokenForAcrAccessToken`
- **2026-07-13** (2018-08-10-preview) `7108fa6b173b` — 1 breaking
  - api path removed without deprecation
- **2026-07-13** (2018-08-10-preview) `89022cd898bc` — 1 info
  - endpoint added
- **2025-09-10** (2018-08-10-preview) `64c2cd483faa` — 1 breaking
  - api path removed without deprecation

[Change history](https://skmtc.dev/azure/apis/containerregistry-registry/changes/oauth2/token/post.md)

---

[API](https://skmtc.dev/azure/apis/containerregistry-registry.md) · [All operations](https://skmtc.dev/azure/apis/containerregistry-registry/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/azure/containerregistry-registry/revisions/be283057eb09/schema)
