Hiding the invite option

I am trying to hide the invite option in the Zoom web SDK - can someone please see the code and let me know the changes to be done? Currently it it appears in the window.

<script>
    ZoomMtg.setZoomJSLib('https://source.zoom.us/2.10.1/lib', '/av')
    // loads WebAssembly assets
    ZoomMtg.preLoadWasm()
    ZoomMtg.prepareWebSDK()
    // loads language files, also passes any error messages to the ui
    ZoomMtg.i18n.load('en-US')
    ZoomMtg.i18n.reload('en-US')

    ZoomMtg.init({
        leaveUrl: 'XXX',
        success: (success) => {
            ZoomMtg.showInviteFunction({
                show: 0,
            }),
            ZoomMtg.join({
                sdkKey: 'XXX',
                signature: 'XXX',
                meetingNumber: 'XXX',
                passWord: 'XXX',
                userName: 'XXX',
                success: (success) => {
                    console.log(success)
                },
                error: (error) => {
                    console.log(error)
                }
            })
        },
        error: (error) => {
            console.log(error)
        }
    })
</script>

Hope you will be fine.

Please set

ZoomMtg.init({
 disableInvite: true,
  meetingInfo:[],
})

and also in style

.meeting-info-container{
display:none !important;
}