Auth0 Node.js SDK - v5.0.0
    Preparing search index...

    Interface CreateActionRequestContent

    {
    * name: "name",
    * supported_triggers: [{
    * id: "id"
    * }]
    * }
    interface CreateActionRequestContent {
        name: string;
        supported_triggers: ActionTrigger[];
        code?: string;
        dependencies?: ActionVersionDependency[];
        runtime?: string;
        secrets?: ActionSecretRequest[];
        deploy?: boolean;
    }
    Index

    Properties

    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.

    code?: string

    The source code of the action.

    dependencies?: ActionVersionDependency[]

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

    runtime?: string

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

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

    deploy?: boolean

    True if the action should be deployed after creation.