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

---

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