curl --request DELETE \
--url https://api.example.com/api/v1/invitations/{invitationId} \
--header 'x-api-key: <api-key>'{
"statusCode": 404,
"message": "Invitation not found",
"error": "Not Found"
}This endpoint is used to delete an invitation by its ID. It will remove the invitation from the system, making it no longer valid for acceptance.
curl --request DELETE \
--url https://api.example.com/api/v1/invitations/{invitationId} \
--header 'x-api-key: <api-key>'{
"statusCode": 404,
"message": "Invitation not found",
"error": "Not Found"
}