---
title: "Delete a token"
method: DELETE
path: "/oauth/token/{id}"
tags: ["API authentication"]
---

# Delete a token

`DELETE /oauth/token/{id}`

## Request

- Base URL: `https://core.sivo.com`
- URL: `https://core.sivo.com/oauth/token/{id}`
- Auth: one of:
  - API key in header `Authorization`
  - OAuth 2
    - Authorization code: `https://dashboard.sivo.com/oauth/authorize`
    - Client credentials
    - Token URL: `https://core.sivo.com/oauth/token`
- TypeScript: <https://skmtc.dev/sivo/apis/sivo-advance-api/docs/oauth/token/:id/delete.ts> (a function with typed inputs; its response is checked against the schema)

## Path parameters

- `id` string, required: An object id with prefix

## Response `200`

Successful operation

- object
  - `user_id` string, required: An object id with prefix
  - `client_id` string, required: An object id with prefix
  - `refresh_token` string, required: Non-empty text string
  - `id` string, required: An object id with prefix
  - `created_at` string, date-time, required: Creation date and time
  - `created_by` string, required: ID of the user that created this object
  - `updated_at` string, date-time, required: Last update date and time
  - `updated_by` string, required: ID of the user that last updated this object

## Changes

- **2026-11-03** `4bbab9699612`: 2 info
  - the `created_by` response's property pattern was changed from `^[a-z]{3,7}_[0-9A-Za-z]{27}$` to `^[0-9A-Za-z_-]{1,255}$` for the status `200`
  - the `updated_by` response's property pattern was changed from `^[a-z]{3,7}_[0-9A-Za-z]{27}$` to `^[0-9A-Za-z_-]{1,255}$` for the status `200`

[Operation history](https://skmtc.dev/sivo/apis/sivo-advance-api/changes/oauth/token/:id/delete.md)

---

[API](https://skmtc.dev/sivo/apis/sivo-advance-api.md) - [All operations](https://skmtc.dev/sivo/apis/sivo-advance-api/llms.txt) - [OpenAPI document](https://skmtc.dev/sivo/apis/sivo-advance-api/revisions/4bbab9699612?raw)
