ProvisionJob - clearAllPMDevices
ProvisionJob - clearAllPMDevices
Description :
This command removes all devices from a Provision Job.
Return type : DBKey
Command Input :
Variable Name | Variable Type | Description |
|---|---|---|
jobKey | DBKey | Handle of the Provision Job to be updated. |
Example
This example shows how to remove all devices from a Provision Job.
Script
# Get the DBKey of the Provision Job
PROVISION_JOB_DBKEY=`blcli ProvisionJob getDBKeyByGroupAndName $PROVISION_JOB_GROUP $PROVISION_JOB_NAME`
JOB_KEY=`blcli ProvisionJob clearAllPMDevices $PROVISION_JOB_DBKEY `
Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*