All user-created logical entities associated with the PCG must be deleted.
Identify entities which are associated with the PCG and delete them.
Note: Do not delete the auto-created logical entities. These are deleted automatically after you click Undeploy Gateway from CSM. See Auto-Created Logical Entities and Cloud-native Security Groups for the list of auto-created logical entities.