Back to Node Auth0

Interface CreateActionRequestContent

docs/interfaces/management.Management.CreateActionRequestContent.html

5.9.12.4 KB
Original Source

Interface CreateActionRequestContent

Example

{ * 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;
}

Index

Properties

namesupported_triggerscode?dependencies?runtime?secrets?modules?deploy?

Properties

name

name: string

The name of an action.

supported_triggers

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.

Optionalcode

code?: string

The source code of the action.

Optionaldependencies

dependencies?: ActionVersionDependency[]

The list of third party npm modules, and their versions, that this action depends on.

Optionalruntime

runtime?: string

The Node runtime. For example: node22, defaults to node22

Optionalsecrets

secrets?: ActionSecretRequest[]

The list of secrets that are included in an action or a version of an action.

Optionalmodules

modules?: ActionModuleReference[]

The list of action modules and their versions used by this action.

Optionaldeploy

deploy?: boolean

True if the action should be deployed after creation.

Settings

Member Visibility

  • Protected
  • Inherited

ThemeOSLightDark

On This Page

Properties namesupported_triggerscodedependenciesruntimesecretsmodulesdeploy