Skip to main content
Use this endpoint to cancel a pending invitation, preventing the recipient from using it to join your Shilo organization. This is useful when an agent should no longer be onboarded, or when you need to re-invite them with different details — for example, a corrected email address or a different external_user_id.

Endpoint

Authentication

This endpoint requires a write-enabled API key:

Path Parameters

string
required
The unique identifier (UUID) of the invitation to cancel. You can obtain this from the List Invitations or Create Invitation endpoints.

Response

204 — No Content

The invitation was successfully cancelled. No response body is returned.

403 — Forbidden

Your API key does not have write permissions.

404 — Not Found

No invitation with the given id exists in your organization.

Example Request

A successful cancellation returns HTTP 204 No Content with an empty response body.