export-import
import delete
Important: IBM Cloud Pak® for Data
Version 4.8 will reach end of support (EOS) on 31 July, 2025. For more information, see the Discontinuance of service announcement for IBM Cloud Pak for Data Version 4.X.
Upgrade to IBM Software Hub Version 5.1 before IBM Cloud Pak for Data Version 4.8 reaches end of support. For more information, see Upgrading from IBM Cloud Pak for Data Version 4.8 to IBM Software Hub Version 5.1.
Delete an IBM® Cloud Pak for Data import.
Syntax
cpd-cli export-import import delete <cpd-import-name> \
[--arch=<system-cpu-architecture>] \
[--cpdconfig=<cpd-configuration-location>] \
[--log-level=info|debug|warn|error|panic] \
[--namespace=<namespace-name>] \
[--no-prompt] \
--profile=<cpd-profile-name> \
[--verbose]
Arguments
| Argument | Description |
|---|---|
<cpd-import-name> |
The name of the import to delete. |
Table 1: Command arguments
Options
| Option | Description |
|---|---|
--arch |
Provide the CPU architecture
(hardware) of the cluster.
|
--cpdconfig |
The Cloud Pak for Data
configuration location. For example,
$HOME/.cpd-cli/config.
|
|
|
Display command
help.
|
--log-level |
The command log
level.
|
|
|
The namespace name in which the
utility should operate.
|
--no-prompt |
Prompt for confirmation before
proceeding with the operation.
|
--profile |
The name of the profile that you
created to store information about an instance of Cloud Pak for Data and your credentials for the
instance.
|
--verbose |
Logs include more detailed
messages.
|
Table 1: Command options
Examples
Note: The following examples use the recommended installation environment variables.
It is strongly recommended that you use a script to create environment variables with the correct values for your environment. For more information, see Best practice: Setting up installation environment variables.
- Delete the Cloud Pak for Data import job in the
${PROJECT_CPD_INST_OPERANDS}namespace. -
cpd-cli export-import import delete <cpd-import-name> \ --namespace=${PROJECT_CPD_INST_OPERANDS} \ --arch=${CPU_ARCH} \ --profile=${CPD_PROFILE_NAME}