---
title: "Remove an Ask site"
method: DELETE
path: "/v2/teamspaces/{teamspaceId}/ask-sites/{siteKey}"
tags: ["Ask Sites"]
---

# Remove an Ask site

`DELETE /v2/teamspaces/{teamspaceId}/ask-sites/{siteKey}`

## Request

- Base URL: `https://context7.com/api`
- URL: `https://context7.com/api/v2/teamspaces/{teamspaceId}/ask-sites/{siteKey}`
- Auth: HTTP bearer

Remove the site, its question log and its counters. The endpoint stops answering. Owner or admin.

## Path parameters

- `teamspaceId` string, uuid, required
- `siteKey` string, required

## Response `200`

Removed

- object
  - `success` true, required

## Other responses

- `400`: Invalid teamspace id or parameters
- `401`: Unauthorized - Invalid or missing API key
- `403`: Owner or admin role required, or the key belongs to another teamspace
- `404`: No site with this key in this teamspace
- `500`: Internal Server Error

## Changes

- **2026-10-22** `e17589fd8767`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/context7/apis/context7-public-api/changes/v2/teamspaces/:teamspaceId/ask-sites/:siteKey/delete.md)

---

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