---
title: "Revoke and Regenerate Token"
method: POST
path: "/v1/revoke-and-regenerate"
---

# Revoke and Regenerate Token

`POST /v1/revoke-and-regenerate`

## Request

- Base URL: `https://testapi.payarc.net`
- URL: `https://testapi.payarc.net/v1/revoke-and-regenerate`
- Auth: API key in header `Authorization`

## Headers

- `Accept` string, required
- `Content-Type` string, required

## Request body

- object
  - `id` string, required: The unique ID of the access token.
  - `client_id` string, required: The unique Client ID,

## Response `200`

200

- object
  - `data` object
    - `object` string
    - `id` string
    - `user_id` string
    - `client_id` string
    - `client_secret` string
    - `name` unknown
    - `scopes` string
    - `revoked` boolean
    - `created_at` integer
    - `updated_at` integer
    - `expires_at` integer
    - `use_count` unknown
    - `last_used` unknown
  - `meta` object
    - `include` unknown[]
      - unknown
    - `custom` unknown[]
      - unknown

## Other responses

- `401`: 401
- `500`: 500

---

[API](https://skmtc.dev/payarc/apis/payarc-sandbox.md) - [All operations](https://skmtc.dev/payarc/apis/payarc-sandbox/llms.txt) - [OpenAPI document](https://skmtc.dev/payarc/apis/payarc-sandbox/revisions/d3ee769894e4?raw)
