When you click "Sites" from the left navigation menu, and then click the 3 dots next to a site, the "Delete site" option is not available. If you click Plans, then click "ColageTravel" plan in the main site area, then click the 3 dots next to a site, the "Delete Site" option is available. Please fix your code.