---
title: "Disable the invite link"
method: DELETE
path: "/v2/teamspaces/{teamspaceId}/invite-link"
tags: ["Teamspace Admin"]
---

# Disable the invite link

`DELETE /v2/teamspaces/{teamspaceId}/invite-link`

## Request

- Base URL: `https://context7.com/api`
- URL: `https://context7.com/api/v2/teamspaces/{teamspaceId}/invite-link`
- Auth: HTTP bearer

Turns the invite link off (owner or admin).

## Response `200`

Invite link

- object

## Other responses

- `400`: Invalid request
- `401`: Missing or invalid bearer
- `403`: Not allowed for this caller or plan
- `500`: Internal error

## Changes

- **2026-10-28** `1fd763a39c5d`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/context7/apis/context7-public-api/changes/v2/teamspaces/:teamspaceId/invite-link/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)
