Skip to main content
DELETE
/
settings
/
invite
Cancel Invitation
curl --request DELETE \
  --url https://api.callgency.com/settings/invite \
  --header 'Authorization: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "invite_id": "<string>"
}
'
This endpoint allows you to cancel a pending staff invitation before the user accepts it.

Request Body

  • invite_id (string, required): ID of the invitation to cancel

Example Request

curl --request DELETE \
  --url https://api.callgency.com/settings/invite \
  --header 'Authorization: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '{
    "invite_id": "<string>"
  }'

Response

Returns a success message confirming the invitation has been cancelled.

Authorizations

Authorization
string
header
required

Company API Key

Body

application/json

Invitation ID to cancel

invite_id
string
required

ID of the invitation to cancel

Response

Invitation cancelled successfully