Call the interface to remove a registered event handler BX24.callUnbind

BX24.callUnbind(
            String event,
            String handler[
                Integer auth_type[
                    Function callback
                ]
            ]
        );
        

The interface for the method event.unbind, which removes a registered event handler.

Note

Works only when authorized as a user with administrative rights on the account.

Parameters

Required parameters are marked with *

Name
type

Description

event
string

Event name

handler
string

Link to the event handler

auth_type
integer

Identifier of the user under which the event handler is authorized.

Note

If you need to remove event handlers set with an empty auth_type (authorized on behalf of the user who triggered the event), but keep the other handlers, specify auth_type=0 or an empty value for the parameter. If you need to remove event handlers for all users, specify the value null.

callback
function

Function to handle the result of the method call

Example

BX24.callUnbind('OnAppUninstall', 'http://www.my-domain.com/handler/');
        

How to Use Examples in Documentation

Continue exploring