---
title: "Revoke Website Invite"
method: DELETE
path: "/api/v1/invites/website/{invite_id}"
tags: ["Team Management"]
---

# Revoke Website Invite

`DELETE /api/v1/invites/website/{invite_id}`

Soft-revokes a **pending** website invite by setting its status to `revoked`. Accepts a global API key, or a website-scoped key if the invite's target website is included in the key's allowlist. Returns 409 if the invite is in any other state. To remove an already-accepted member, use `DELETE /api/v1/websites/{website_id}/members/{user_id}` instead.

## Response `200`

Invite revoked successfully

- object
  - `success` boolean, required
  - `message` string, required
  - `invite_id` string, uuid, required

## Other responses

- `400` — Bad request - Invalid invite ID format
- `401` — Unauthorized - Invalid or missing API key
- `403` — Forbidden - API key does not have access to this website
- `404` — Not found - Invite does not exist or does not belong to your organization
- `409` — Conflict - Invite is not in pending state
- `500` — Internal server error

---

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