delete-deployment-group

Deletes a Payara Server deployment group.

Synopsis

asadmin [asadmin-options] create-deployment-group [--help]
name

Description

The delete-deployment-group subcommand deletes a Payara Server deployment group. If the deployment group contains instances on it, they will not be deleted when the group is deleted.

This subcommand is supported in remote mode only.

Options

asadmin-options

Options for the asadmin utility. For information about these options, see the asadmin help page.

--help
-?

Displays the help text for the subcommand.

Operands

name

The name of the deployment group to delete. If the name doesn’t match any existing deployment groups the command will exit with an error.

Examples

Example 1 Deleting a Deployment Group

This example deletes a deployment group that is named test-dgroup:

asadmin delete-deployment-group test-dgroup
Command delete-deployment-group executed successfully.