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 |
Description |
|
event |
Event name |
|
handler |
Link to the event handler |
|
auth_type |
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 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
- Call the interface to register a new event handler callBind
- Call the REST service method with specified parameters BX24.callMethod
- Send a batch of requests with BX24.callBatch