---
title: "Revoke party invitation"
method: DELETE
path: "/party-invitations/{invitationId}"
tags: ["Invitations"]
---

# Revoke party invitation

`DELETE /party-invitations/{invitationId}`

Revoke a pending party invitation

## Path parameters

- `invitationId` string, required — Invitation ID (inv_*).

## Headers

- `Idempotency-Key` string, required
- `X-Instance-ID` string, nullable

## Response `200`

Successful Response

- object
  - `data` object, required
    - `type` 'invitation', required
    - `id` string, required — Invitation ID (inv_*).
    - `attributes` object, required
      - `email` string, required — Invitee email address.
      - `role` 'OWNER' | 'ADMIN' | 'MEMBER', required — Role assigned on acceptance.
      - `status` 'PENDING' | 'ACCEPTED' | 'REVOKED' | 'DECLINED', required — Invitation status.
      - `tags` object, required — Metadata visible to anyone who can read the resource.
      - `expiresAt` string, required — When this invitation expires.
      - `createdAt` string, required — When this invitation was created.
      - `acceptedAt` string, nullable, required — When this invitation was accepted.
  - `meta` object, required
    - `deleted` unknown, required

## Other responses

- `400` — Validation Error
- `401` — Unauthorized
- `403` — Forbidden
- `404` — Not Found. Returned when the resource does not exist, or when it exists but is not accessible to your account. The two cases are intentionally indistinguishable, so that resource IDs cannot be enumerated by probing.
- `409` — Conflict
- `422` — Validation Error
- `428` — Precondition Required
- `429` — Too Many Requests
- `500` — Internal Server Error
- `501` — Not Implemented
- `502` — Bad Gateway
- `503` — Service Unavailable

## Changes

- **2026-08-27** `359d267dca88` — 1 info
  - deleted the `header` request parameter `X-Agent-ID` with deprecation
- **2026-08-23** `b1ad79e918ac` — 1 info
  - `header` request parameter `X-Agent-ID` was deprecated
- **2026-08-13** `ba1fb54c5939` — 1 info
  - added the required property `data/attributes/tags` to the response with the `200` status
- **2026-07-26** `270e233e401c` — 2 warning, 1 info
  - for the `header` request parameter `Idempotency-Key`, the maxLength was set to `255`
  - for the `path` request parameter `invitationId`, the maxLength was set to `64`
  - removed the `VIEWER` enum value from the `data/attributes/role` response property for the response status `200`

[Change history](https://skmtc.dev/natural/apis/natural-api/changes/party-invitations/:invitationId/delete.md)

---

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