code: def delete_entity_type(project_id, entity_type_id):
      
      import dialogflow_v2 as dialogflow
      entity_types_client = dialogflow.EntityTypesClient()
  
      entity_type_path = entity_types_client.entity_type_path(
          project_id, entity_type_id)
  
      entity_types_client.delete_entity_type(entity_type_path)
docs: Delete entity type with the given entity type name.