cURL
curl --request POST \ --url https://api.zavu.dev/v1/invitations/{invitationId}/cancel \ --header 'Authorization: Bearer <token>'
{ "invitation": { "id": "inv_abc123", "url": "https://dashboard.zavu.dev/invite/abc123xyz", "token": "<string>", "status": "pending", "expiresAt": "2023-11-07T05:31:56Z", "createdAt": "2023-11-07T05:31:56Z", "updatedAt": "2023-11-07T05:31:56Z", "clientName": "<string>", "clientEmail": "<string>", "clientPhone": "<string>", "phoneNumberId": "<string>", "senderId": "<string>", "viewedAt": "2023-11-07T05:31:56Z", "startedAt": "2023-11-07T05:31:56Z", "completedAt": "2023-11-07T05:31:56Z" } }
Cancel an active invitation. The client will no longer be able to use the invitation link.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Invitation cancelled.
Show child attributes