Documentation

event.unbind

Scope: catalog Permissions: administrator

Uninstalls a previously installed event handler.

The method can be called only by a user having administrative privileges.

Parameters

Parameter Description
event Specifies the event name. Required.
handler Specifies the event handler URL. Required.
auth_type Specifies the user ID whose credentials will be used to install the handler. Optional.

offline events.

If some of the parameters are missing, the method will remove all the handlers satisfying the other criteria.

Returned value

Returns the number of removed event handlers.

Example:

https://my.bitrix24.com/rest/event.unbind.json?auth=a25e86871fcebb24f4d9076caf2e6623&auth_type=0&event=OnAppUpdate&handler=http%3A%2F%2Fwww.my-domain.com%2Fhandler%2F

Response

{"result":{"count":1}}

See Also



© «Bitrix24», 2001-2024
Up