WebHook.Release
---------------

Releases the object and all memory used for it.

| Component | Version | macOS | Windows | Linux | Server | iOS SDK |
|---|---|---|---|---|---|---|
| [WebHook](component_WebHook.md) | [11.5](newinversion115.md) | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes |

MBS( "WebHook.Release"; WebHook ) 

**MBS**( **"WebHook.Release";** /\* Releases the object and all memory used for it. \*/  
**$WebHook**) /\* The reference number of the web hook. \*/ 

### Parameters

| Parameter | Description | Example |
|---|---|---|
| WebHook | The reference number of the web hook. | $webhook |

### Result

Returns OK or error.

### Description

Releases the object and all memory used for it.  
Please call this when you are done with a web hook.  
### Examples

Cleanup:

 If \[ not IsEmpty ( $$WebHooks ) \]   
 Set Variable \[ $r ; Value: MBS ("WebHook.Release"; $$WebHooks ) \]   
 Set Variable \[ $$WebHooks ; Value: "" \]   
End If  
### See also

- [WebHook.Create](WebHookCreate.md)
- [XL.Book.Release](XLBookRelease.md)

### Example Databases

- [CURL/Email/GMail oAuth SMTP](https://www.mbsplugins.eu/MBS-FileMaker-Plugin-Examples/CURL/Email/GMail%20oAuth%20SMTP.shtml#2ScriptAnchor_)
- [CURL/Email/Office 365 oAuth SMTP](https://www.mbsplugins.eu/MBS-FileMaker-Plugin-Examples/CURL/Email/Office%20365%20oAuth%20SMTP.shtml#2ScriptAnchor_)
- [WebHook/Trigger script with Webhook/WebHook Listener](https://www.mbsplugins.eu/MBS-FileMaker-Plugin-Examples/WebHook/Trigger%20script%20with%20Webhook/WebHook%20Listener.shtml#1ScriptAnchor_)
- [WebHook/WebHook Chat/WebHook Chat](https://www.mbsplugins.eu/MBS-FileMaker-Plugin-Examples/WebHook/WebHook%20Chat/WebHook%20Chat.shtml#2ScriptAnchor_)
- [WebHook/WebHook to serve html](https://www.mbsplugins.eu/MBS-FileMaker-Plugin-Examples/WebHook/WebHook%20to%20serve%20html.shtml#1ScriptAnchor_)
- [WebHook/WebHook](https://www.mbsplugins.eu/MBS-FileMaker-Plugin-Examples/WebHook/WebHook.shtml#1ScriptAnchor_)

### Blog Entries

- [Using Gmail with oAuth2 for SMTP with MBS Plugin](https://www.mbsplugins.de/archive/2025-05-08/Using_Gmail_with_oAuth2_for_SM/monkeybreadsoftware_blog_filemaker)
- [SMTP with OAuth for Office 365 in FileMaker](https://www.mbsplugins.de/archive/2022-11-22/SMTP_with_OAuth_for_Office_365/monkeybreadsoftware_blog_filemaker)

This function checks for a license.

Created 13th October 2021 , last changed 13th October 2021

  
[WebHook.Listen](WebHookListen.md) - [WebHook.SetAutoAnswer](WebHookSetAutoAnswer.md)

[HTML Version](WebHookRelease.shtml)