deleteEventSubscription

On this page
Back to index

Summary

Delete a list of event subscriptions.
jobId
Stringoptional
The primary key or name of the job container of the email notifier.
notifierName
Stringrequired
The name of the email notifier.
userNames
Array<Unknown>optional
A list of names of the users who receives the notification.
applicationName
Stringoptional
The name of the application which is related to the target email container (Process/ProcessStep).
componentName
Stringoptional
The name of the component which is related to the target email container (Process/ProcessStep).
flowName
Stringoptional
The name of the flow container of the email notifier.
flowRuntimeId
Stringoptional
The primary key or name of the flowRuntime container of the email notifier.
flowRuntimeStateId
Stringoptional
The primary key or name of the flowRuntimeState container of the email notifier.
flowStateName
Stringoptional
The name of the flow container of the email notifier.
gateType
Stringoptional
The type of the gate.
Possible values: "POST", "PRE"
groupNames
Array<Unknown>optional
A list of names of the groups which receives the notification.
jobStepId
Stringoptional
The primary key of the job-step container of the email notifier.
pipelineName
Stringoptional
The name of the pipeline container of the email notifier.
procedureName
Stringoptional
The name of the procedure container of the email notifier.
processName
Stringoptional
The name of the process container of the email notifier.
processStepName
Stringoptional
The name of the process step container of the email notifier.
projectName
Stringoptional
The name of the project container of the email notifier.
releaseName
Stringoptional
The name of the release containing the pipeline.
stageName
Stringoptional
The name of the stage container of the email notifier.
stateDefinitionName
Stringoptional
The name of the state definition container of the email notifier.
stateName
Stringoptional
The name of the state container of the email notifier.
stepName
Stringoptional
The name of the step container of the email notifier.
workflowDefinitionName
Stringoptional
The name of the workflow definition container of the email notifier.
workflowName
Stringoptional
The name of the workflow container of the email notifier.

Usage

Groovy

import com.electriccloud.client.groovy.ElectricFlow import com.electriccloud.client.groovy.models.* ElectricFlow ef = new ElectricFlow() def result = ef.deleteEventSubscription( notifierName: "test-notifierName" /* optional arguments */ )