---
title: Undeploying the PingIntelligence policy for Flow Hook
description: Undeploy the PingIntelligence policy:
component: pingintelligence
version: 5.2
page_id: pingintelligence:pingintelligence_integrations:pingintelligence_undeploying_policy_flow_hook
canonical_url: https://docs.pingidentity.com/pingintelligence/5.2/pingintelligence_integrations/pingintelligence_undeploying_policy_flow_hook.html
revdate: May 6, 2024
section_ids:
  steps: Steps
  choose-from: Choose from:
---

# Undeploying the PingIntelligence policy for Flow Hook

## Steps

* Undeploy the PingIntelligence policy:

  ### Choose from:

  * Undeploy with self-signed certificate: Run the following command to undeploy the PingIntelligence policy with self-signed certificate.

    ```
    /opt/pingidentity/pi/apigee/bin/undeploy.sh -fh
    ```

  * Undeploy with certificate authority (CA)-signed certificate: Run the following command to undeploy the PingIntelligence policy with a CA-signed certificate.

    ```
    /opt/pingidentity/pi/apigee/bin/undeploy.sh -fh -ca
    ```
