lr set schema

lr set schema

Use this command to enable or disable the registration fields for the Identity Experience Framework (IDX). You can also manage field configurations such as optional, required, type, and name.

Syntax

lr set schema [flags]

Examples

# To update the field configuration
$ lr set schema -f my-field
? Enter Field Name: My Field
? Optional? Yes
? Select field Type CheckBox
# To Enable the field with default configuration
lr set schema -f my-field --enable
"my-field" enabled successfully
# To Disable the field
lr set schema -f my-field --disable
"my-field" disabled successfully

Options

-d, --disable This Flag is used to enable to field with the default configuration
-e, --enable This Flag is used to enable to field with the default configuration
-f, --fieldName string The Field Name which you wanted to enable or update.

Options inherited from parent commands

--help Show help for command