# cancelInviteToParticipant

fun cancelInviteToParticipant(participant: Participant, onCompletion: (ConferenceError?) -> Unit)

Cancels the invitation made for the user to the specified participant.

#### Parameters

participant

Participant whose invitation is being canceled. It should be used the same participant as the one used to send the invitation previously.

onCompletion

Callback that will be invoked when the request is completed. It will receive a ConferenceError if any error occurs. In case of success, error will be null.