deleteHook

Back to index

Summary

Deletes a hook associated with an entity.
hookName
Stringrequired
Name for the hook; must be unique among all hooks.
projectName
Stringoptional
ProjectName of the entity that owns the hook.
resourceTemplateName
Stringoptional
Name of the resource template.

Usage

Perl

$cmdr->deleteHook( "test-hookName" # hookName # optionals );

ectool

ectool deleteHook \ "test-hookName" `# hookName` \ # optionals

Examples

Perl

$cmdr->deleteHook("AWS config", {resourceTemplateName => "AWS backup server"});

ectool

ectool deleteHook "AWS config" --resourceTemplateName "AWS backup server"