---
title: "Api Accounts Invitations Destroy"
method: DELETE
path: "/api/accounts/invitations/{code}/"
tags: ["users"]
---

# Api Accounts Invitations Destroy

`DELETE /api/accounts/invitations/{code}/`

DELETE /api/accounts/invitations/{code}/

Revoke/delete an invitation by its code (UUID).
Also removes the pending OrganizationUserRole if it exists.

## Path parameters

- `code` string, required

## Headers

- `Authorization` string, required

## Response `200`

Successful response

## Changes

- **2026-07-31** `c26d550029f8` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/keywordsai/apis/api-reference/changes/api/accounts/invitations/:code/delete.md)

---

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