---
title: "Revoke Import Token"
method: DELETE
path: "/saved/import-token"
tags: ["saved"]
---

# Revoke Import Token

`DELETE /saved/import-token`

## Request

- Base URL: `https://stardrift.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://stardrift.ai/saved/import-token`
- Auth: none declared

Revoke this user's share-extension token(s). The app calls this on
sign-out: the token is independent of the Stytch session, so logout must
kill it explicitly or the extension could keep importing for the user who
just left (the shared-Keychain copy is wiped client-side in parallel).

Guests can revoke too, mirroring mint: a guest's token is scoped to that
guest's `user_id`, so the same one-token-per-user cleanup applies.

## Headers

- `x-installation-id` string, nullable

## Response `204`

Successful Response

## Other responses

- `422`: Validation Error

---

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