19.1 Deleting the OAM Domain
The steps to delete an Oracle Access Management (OAM) domain depends on whether the domain was created with WLST or WDT.
Deleting WLST OAM Domains
- Navigate to the
$WORKDIR/kubernetes/delete-domain
directory:cd $WORKDIR/kubernetes/delete-domain
- Run the following command to delete the
domain:
For example:./delete-weblogic-domain-resources.sh -d <domain_uid>
./delete-weblogic-domain-resources.sh -d accessdomain
Deleting WDT OAM Domains
- Run the following command to delete the domain and
clusters:
kubectl delete -f $WORKDIR/yaml/domain.yaml
- Navigate to the
$WORKDIR/kubernetes/delete-domain
directory:cd $WORKDIR/kubernetes/delete-domain
- Run the following command to remove other domain
objects:
For example:./delete-weblogic-domain-resources.sh -d <domain_uid>
./delete-weblogic-domain-resources.sh -d accessdomain