# Hiding the invite option

**URL:** <https://devforum.zoom.us/t/hiding-the-invite-option/100223>\
**Category:** Meeting SDK\
**Created:** [December 15, 2023, 9:07am UTC](https://devforum.zoom.us/t/hiding-the-invite-option/100223 "2023-12-15T09:07:26Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![epzoom](https://avatars.discourse-cdn.com/v4/letter/e/4af34b/32.png) [@epzoom](https://devforum.zoom.us/u/epzoom)\
**Post date:** [December 15, 2023, 9:07am UTC](https://devforum.zoom.us/t/hiding-the-invite-option/100223/1 "2023-12-15T09:07:26Z")

</div>

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.

```auto
<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>

```

---

<div class="post-metadata">

**Author:** ![freelancer.nak](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/freelancer.nak/32/40968_2.png) [@freelancer.nak](https://devforum.zoom.us/u/freelancer.nak)\
**Post date:** [December 16, 2023, 6:44pm UTC](https://devforum.zoom.us/t/hiding-the-invite-option/100223/2 "2023-12-16T18:44:37Z")

</div>

Hope you will be fine.

Please set

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

```

and also in style

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

```
