API documentation
Method list
Test your request
Changelog


deleteAutomaticActionCustomEvent
Deletes a custom event (personal trigger) by ID. This also removes all automatic actions that use this custom event as trigger.


Input parameters
typetextType of automatic action
custom_event_idintCustom event ID to delete



Output data
The method returns the data in JSON format.
statusvarchar(30)SUCCESS - request executed correctly
ERROR - an error occurred during an API request. Error details will be described in 2 additional returned fields: error_message and error_code



Sample
Input data:
Output data:
A sample request in PHP: