code: def delete_intent(project_id, intent_id):
      
      import dialogflow_v2 as dialogflow
      intents_client = dialogflow.IntentsClient()
  
      intent_path = intents_client.intent_path(project_id, intent_id)
  
      intents_client.delete_intent(intent_path)
docs: Delete intent with the given intent type and intent value.