delete_group

Deletes a group. Deleting a non-existent group generates the error "Group X does not exist."

Format

emcli delete_group
      -name="name"
      [-type=<group>]

[ ]  indicates that the parameter is optional

Options

  • name

    Name of the group to delete.

  • type

    Group type: group. Defaults to "group".

Examples

Example 1

This example removes the group payroll_group that consists of database target types.

emcli delete_group -name=payroll_group

Example 2

This example removes the group my_hosts that consists of host target types.

emcli delete_group -name=my_hosts