auth0 actions modules update
Update an action module.
The module name is immutable and cannot be changed. Only the fields you pass are updated; omitted fields keep their current values.
Updates edit the module’s draft. Pass --publish to also snapshot the draft as a new immutable version once the update succeeds.
Usage
auth0 actions modules update [flags]
Examples
auth0 actions modules update <module-id> --code "$(cat path/to/module.js)"
auth0 actions modules update <module-id> --dependency "lodash=4.0.0" --secret "API_KEY=value"
auth0 actions modules update <module-id> --code "$(cat path/to/module.js)" --publish
auth0 actions modules update <module-id> -c "$(cat path/to/module.js)" --json
Flags
-c, --code string Code content of the action module.
-d, --dependency stringToString Third party npm module, and its version, that the action module depends on. (default [])
--json Output in json format.
--json-compact Output in compact json format.
--publish Publish the module's draft as a new immutable version once the create or update succeeds.
-s, --secret stringToString Secrets to be used in the action module. (default [])
Inherited Flags
--debug Enable debug mode.
--no-color Disable colors.
--no-input Disable interactivity.
--tenant string Specific tenant to use.
Related Commands
- auth0 actions modules actions - Manage the actions using an action module
- auth0 actions modules create - Create a new action module
- auth0 actions modules delete - Delete an action module
- auth0 actions modules list - List your action modules
- auth0 actions modules show - Show an action module
- auth0 actions modules update - Update an action module
- auth0 actions modules versions - Manage action module versions