delete-config
Deletes an existing named configuration.
Description
The delete-config
subcommand deletes an existing named configuration from the configuration of the domain administration server (DAS). You can delete a configuration only if no Payara Server instances or clusters refer to the configuration. A standalone configuration is automatically deleted when the instance or cluster that refers to it is deleted. You cannot delete the default-config
configuration that is copied to create standalone configurations.
This subcommand is supported in remote mode only.
Options
- asadmin-options
-
Options for the
asadmin
utility. For information about these options, see theasadmin
help page. --help
-?
-
Displays the help text for the subcommand.
Examples
Example 1 Deleting a Named Configuration
This example deletes the named configuration pmdconfig
.
asadmin> delete-config pmdconfig
Command delete-config executed successfully.