docs/interfaces/management.Management.CreateActionRequestContent.html
{ * name: "name", * supported_triggers: [{ * id: "post-login" * }] * }Copy
interface CreateActionRequestContent {
name: string;
supported_triggers: ActionTrigger[];
code?: string;
dependencies?: ActionVersionDependency[];
runtime?: string;
secrets?: ActionSecretRequest[];
modules?: ActionModuleReference[];
deploy?: boolean;
}
namesupported_triggerscode?dependencies?runtime?secrets?modules?deploy?
name: string
The name of an action.
supported_triggers: ActionTrigger[]
The list of triggers that this action supports. At this time, an action can only target a single trigger at a time.
Optionalcodecode?: string
The source code of the action.
Optionaldependenciesdependencies?: ActionVersionDependency[]
The list of third party npm modules, and their versions, that this action depends on.
Optionalruntimeruntime?: string
The Node runtime. For example: node22, defaults to node22
Optionalsecretssecrets?: ActionSecretRequest[]
The list of secrets that are included in an action or a version of an action.
Optionalmodulesmodules?: ActionModuleReference[]
The list of action modules and their versions used by this action.
Optionaldeploydeploy?: boolean
True if the action should be deployed after creation.
Member Visibility
ThemeOSLightDark
Properties namesupported_triggerscodedependenciesruntimesecretsmodulesdeploy