# API command "delete-package" fails with "Policy X is installed on 1 or more gateways."

## Symptoms

- API command "delete-package" fails with "Policy X is installed on 1 or more gateways."

## Cause

The API verifies that the requested policy is not installed on the Security Gateway. If it is, the deletion fails with the above message.

## Solution

We're here for you

Please log in / sign in to view solution

#### NOTE

This solution has been verified for the specific scenario, described by the combination of Product, Version and Symptoms. It may not work in other scenarios.

## Article Properties

Access Level: Advanced  
Status: Approved by TAC  
Date Created: 2024-01-10  
Last Modified: 2025-01-16
