---
title: "Revoke connection token"
method: POST
path: "/connection/revoke_token"
tags: ["Connection Tokens"]
---

# Revoke connection token

`POST /connection/revoke_token`

This endpoint lets you revoke a connection token.      To be able to revoke a connection token for a user, you need to have `WRITE` access on that user and the connection token must be valid (not expired, not revoked and not consumed).

## Request body

- object
  - `user_id` string, required — User id
  - `token` string — Token to revoke

## Response `200`

OK

- object

## Other responses

- `400` — Your request is incorrect
- `401` — You are not authenticated
- `403` — You are not allowed to perform this action
- `404` — Resource does not exist

---

[API](https://skmtc.net/partoo/apis/partoo-rest-api.md) · [All operations](https://skmtc.net/partoo/apis/partoo-rest-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/partoo/partoo-rest-api/revisions/3652d8b1a8b3/schema)
