Przejdź do głównej zawartości

Cancel Invitation

DELETE 

/api/partner/v1/onboarding/:ref/invitations/:id

Cancel an invitation. Its hosted link stops working immediately (the invited person then sees a gone page when they open it). Use this when the details were wrong, for example a typo in the e-mail or phone number.

Invitations in a terminal state (completed, expired, cancelled) cannot be cancelled and return 422. The response echoes the invitation with its status now set to cancelled.

Requires scope onboarding:write.

Request

Responses

Invitation cancelled; its hosted link no longer works.