If the request is successful, you receive the response code for success.
{
output: {
"message": "Trigger deleted successfully"
}
}
Note: If the trigger is used in any of the workflow versions, then you cannot delete it
and the usage of that trigger is shown in the output message.
{
"output": {
"message": "This trigger is used in below workflows. Please remove it from these workflows before deleting.",
"workflows": [
{
"uid": "<Workflow_UId>",
"name": "<Workflow_name>",
"activities": [
"start"
],
"flow_version": [
<Workflow_Versions>
]
}
]
}
}