Deleting an event action with a subscription
You can use the Content Event Webhook feature to delete an event action.
Subscriptions for the event must be deleted
first:
mutation
{
eevUpdateExternalEventAction
(repositoryIdentifier:"<objectStoreSymName>"
identifier: "<eventActionIdtoDelete>" #event action id
subscriptions: #delete subscriptions
{
deletions: [ #deletion by subscription id
"<eventSubscriptionIdtoDelete1>",
"<eventSubscriptionIdtoDelete2>"
]
}
)
{
id
name
owner
progId
eevExternalEventReceiverURL
isEnabled
cmTransactionTimeout
}
}
After deleting the subscription, you can delete the event
action:
mutation {
eevDeleteExternalEventAction(
repositoryIdentifier"<objectStoreSymName>",
identifier:"<eventActionIdtoDelete>")
{
id
name
objectReference {
repositoryIdentifier
classIdentifier
identifier
}
}
}