---
title: "POST /api/v1/oauth/oauth-access-tokens/{id}/refresh"
method: POST
path: "/api/v1/oauth/oauth-access-tokens/{id}/refresh"
tags: ["Oauth"]
---

# POST /api/v1/oauth/oauth-access-tokens/{id}/refresh

`POST /api/v1/oauth/oauth-access-tokens/{id}/refresh`

## Request

- Base URL: `https://api.immy.bot` (the document declares no server; this is the origin it was published from)
- URL: `https://api.immy.bot/api/v1/oauth/oauth-access-tokens/{id}/refresh`
- Auth: none declared

## Path parameters

- `id` integer, required

## Response `200`

OK

- Oauth2AccessToken
  - `createdDate` string, date-time
  - `updatedDate` string, date-time
  - `createdBy` integer, nullable
  - `updatedBy` integer, nullable
  - `id` integer
  - `consentData` OauthConsentData, required
    - `authorizationEndpoint` string, uri, nullable
    - `tokenEndpoint` string, uri, nullable
    - `resource` string, nullable
    - `scopes` string, nullable
    - `clientId` string, nullable
    - `extraQueryParameters` object, nullable
    - `usePkce` boolean
  - `allowSilentRefresh` boolean
  - `accessTokenId` string, nullable, required
  - `tokenType` string, nullable, required
  - `accessTokenExpiresAtUtc` string, date-time
  - `tenantPrincipalId` string, nullable, required
  - `refreshTokenId` string, nullable
  - `refreshTokenExpiresAtUtc` string, date-time, nullable
  - `identityTokenId` string, nullable

---

[API](https://skmtc.dev/immy/apis/immy-bot-api-2.md) · [All operations](https://skmtc.dev/immy/apis/immy-bot-api-2/llms.txt) · [OpenAPI document](https://skmtc.dev/immy/apis/immy-bot-api-2/revisions/75b50268fa51?raw)
