---
title: "Forget a site's kept session"
method: DELETE
path: "/api/v1/cookies/{site}"
tags: ["Account"]
---

# Forget a site's kept session

`DELETE /api/v1/cookies/{site}`

## Request

- Base URL: `https://unbrowse.ai`
- URL: `https://unbrowse.ai/api/v1/cookies/{site}`
- Auth: one of:
  - OAuth 2 (authorization code, authorization URL `https://unbrowse.ai/authorize`, token URL `https://unbrowse.ai/oauth/token`, scopes: `unbrowse`)
  - HTTP bearer

Deletes the signed-in session kept for a site (every origin of it) from the vault, as revoking the site in the browser extension does. The next run on that site signs in again, or asks.

## Path parameters

- `site` string, required

## Response `200`

Whether a session was kept and is now gone

- object
  - `site` string
  - `dropped` boolean

## Other responses

- `400`: An error
- `401`: Missing or invalid credentials. The WWW-Authenticate header names the protected-resource metadata.
- `402`: An error
- `404`: An error
- `429`: An error

---

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