license Commands
Commands to provision and manage Permission Set Licenses in a scratch org.
Provision Permission Set Licenses (PSL) into a target org.
Provision Permission Set Licenses (PSL) into the target org. Successful execution sets the quantity of seats for the given PSL in the indicated org.
There are two ways to run this command. You can provide the information to identify a single PSL via command line flags, or provision multiple PSLs in a single call by supplying a JSON formatted file.
See sf license provision for the format and options contained within the JSON file.
Provision a single Permission Set License into an org:
Use a JSON formatted input file to provision one or more Permission Set Licenses into an org:
--jsonOptional
Format output as json.
Type: boolean
--flags-dirFLAGS-DIROptional
Import flag values from a directory.
Type: option
-o|--target-orgTARGET-ORGRequired
Username or alias of the target org. Not required if the
target-orgconfiguration variable is already set.Type: option
--api-versionAPI-VERSIONOptional
Override the api version used for api requests made by this command
Type: option
-n|--namespaceNAMESPACEOptional
License package namespace.
Type: option
-l|--licenseLICENSEOptional
Permission Set License name.
Type: option
-q|--quantityQUANTITYOptional
Number of licenses to provision.
Type: option
-f|--definition-fileDEFINITION-FILEOptional
Path to a JSON file that contains the PSL provisioning request information.
Type: option