---
title: "Delete a Team invite code"
method: DELETE
path: "/v1/teams/{teamId}/invites/{inviteId}"
tags: ["teams"]
---

# Delete a Team invite code

`DELETE /v1/teams/{teamId}/invites/{inviteId}`

Delete an active Team invite code.

## Path parameters

- `inviteId` string, required — The Team invite code ID.
- `teamId` string, required — The Team identifier to perform the request on behalf of.

## Response `200`

Successfully deleted Team invite code.

- object
  - `id` string, required — ID of the team.

## Other responses

- `400` — One of the provided values in the request query is invalid.
- `401` — The request is not authorized.
- `403` — You do not have permission to access this resource. Invite managed by directory sync Not authorized to access this team.
- `404` — Team invite code not found.
- `410`

## Changes

- **2026-07-21** `2ae10ee9d21c` — 1 info
  - added the non-success response with the status `410`

[Change history](https://skmtc.dev/vercel/apis/api/changes/v1/teams/:teamId/invites/:inviteId/delete.md)

---

[API](https://skmtc.dev/vercel/apis/api.md) · [All operations](https://skmtc.dev/vercel/apis/api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/vercel/api/revisions/4191ba96b0c1/schema)
