---
title: "Revoke refresh token"
method: DELETE
path: "/accounts/refresh-token"
tags: ["Authentication"]
---

# Revoke refresh token

`DELETE /accounts/refresh-token`

## Request

- Base URL: `https://api.quiva.ai`
- URL: `https://api.quiva.ai/accounts/refresh-token`
- Auth: one of:
  - HTTP bearer
  - API key in header `x-api-key`
- TypeScript: <https://skmtc.dev/quivaworks/apis/quiva-ai-gateway/docs/accounts/refresh-token/delete.ts> (a function with typed inputs; its response is checked against the schema)

Revokes a specific refresh token

## Query parameters

- `token` string, required

## Response `200`

Token revoked successfully

- SuccessResponse
  - `message` string

## Other responses

- `401`: Unauthorized

---

[API](https://skmtc.dev/quivaworks/apis/quiva-ai-gateway.md) - [All operations](https://skmtc.dev/quivaworks/apis/quiva-ai-gateway/llms.txt) - [OpenAPI document](https://skmtc.dev/quivaworks/apis/quiva-ai-gateway/revisions/700eb1ace61a?raw)
