Back to index
Summary
Detach a credential from an object.projectNameStringrequiredThe name for the project that must be unique among all projects. componentNameStringoptionalThe name of the component, if attaching a credential to a component, component process, or component process step. credentialNameStringrequiredThe name of the credential. applicationNameStringoptionalThe name of the application, if attaching a credential to an application process, or application process step. applicationProjectNameStringoptionalThe name of the project containing specified application. If not specified, it is defaulted to the release project name. catalogItemNameStringoptionalThe name of the catalog item, if attaching a credential to a catalog item. catalogNameStringoptionalThe name of the catalog, if attaching a credential to a catalog. deployerTaskNameStringoptionalThe name of the deployer task mapped to the deployer configuration. gateTypeStringoptionalThe type of the gate. Possible values: "POST" , "PRE" microserviceNameStringoptionalThe name of the microservice, if attaching a credential to a microservice process. pipelineNameStringoptionalThe name of the pipeline, if attaching a credential to a stage task. procedureNameStringoptionalThe name of the procedure, if attaching a credential to a procedure or a procedure step. processNameStringoptionalThe name of the process, if attaching a credential to a process or a process step. processStepNameStringoptionalThe name of the process step, if attaching a credential to a process step. releaseNameStringoptionalThe name of the release, if attaching a credential to a release. scheduleNameStringoptionalThe name of the schedule, if attaching a credential to a schedule. stageNameStringoptionalThe name of the stage, if attaching a credential to its task. stateDefinitionNameStringoptionalThe name of the workflow state definition, if attaching a credential to a state definition. stepNameStringoptionalThe name of the procedure step, if attaching a credential to a procedure step. taskNameStringoptionalThe name of the task, if attaching a credential to a task. triggerNameStringoptionalThe name of the trigger, if attaching a credential to a trigger. workflowDefinitionNameStringoptionalThe name of the workflow, if attaching a credential to a state definition. |
Usage
Groovy
import com.electriccloud.client.groovy.ElectricFlow import com.electriccloud.client.groovy.models.* ElectricFlow ef = new ElectricFlow() def result = ef.detachCredential( projectName: "test-projectName", credentialName: "test-credentialName" /* optional arguments */ )