---
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`

---

[API](https://skmtc.net/vercel/apis/api.md) · [All operations](https://skmtc.net/vercel/apis/api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/vercel/api/versions/61d1ba3f6dac/schema)
