---
title: "Revoke the invitation"
method: DELETE
path: "/gateway/businesses/{id}/invitation"
tags: ["Businesses"]
---

# Revoke the invitation

`DELETE /gateway/businesses/{id}/invitation`

## Request

- Base URL: `https://api.agentaos.ai/api/v1`
- URL: `https://api.agentaos.ai/api/v1/gateway/businesses/{id}/invitation`
- Auth: API key in header `x-api-key`

Withdraw your client's open invitation. Its link stops working. Refused with `409 client_joined` once your client has joined the business.

## Path parameters

- `id` string, uuid, required

## Response `204`

The invitation was withdrawn. No body.

## Other responses

- `401`: Missing or invalid `x-api-key`.
- `403`: A business you do not manage, or an id that does not exist: the same answer for both, so the response never confirms an id. Also returned when the caller is not an owner or admin of the platform.
- `409`: Your client has already joined this business: its invitations are now theirs to manage.

---

[API](https://skmtc.dev/agentaos/apis/agentaos-gateway-api.md) · [All operations](https://skmtc.dev/agentaos/apis/agentaos-gateway-api/llms.txt) · [OpenAPI document](https://skmtc.dev/agentaos/apis/agentaos-gateway-api/revisions/3a8ad3c6b965?raw)
