---
updatedAt: 2026-05-11T22:01:12.000Z
agentTools:
  siteIndex: https://techdocs.akamai.com/llms.txt
  projectIndex: https://techdocs.akamai.com/powershell/llms.txt
---

# Rate policy

Remove-AppSecRatePolicy

## Synopsis

Remove a rate policy.

## Syntax

```powershell Config name (Default)
Remove-AppSecRatePolicy [-ConfigName] <String> [-VersionNumber] <String> -RatePolicyID <Int32> [-EdgeRCFile <String>] [-Section <String>] [-AccountSwitchKey <String>] [-ProgressAction <ActionPreference>] [<CommonParameters>]
```
```powershell Config ID
Remove-AppSecRatePolicy -ConfigID <Int32> [-VersionNumber] <String> -RatePolicyID <Int32> [-EdgeRCFile <String>] [-Section <String>] [-AccountSwitchKey <String>] [-ProgressAction <ActionPreference>] [<CommonParameters>]
```

## Description

Deletes the specified rate policy from a configuration version.

You can't delete a rate policy that is actively in use.

To delete the rate policy, first activate an older configuration version or create a new version without the policy in place.

When making a request, you can specify a configuration by its name or ID.

The `-VersionNumber` parameter is an integer or the word `latest`.

## Parameters

<table>
  <tbody>
    <tr>
      <td class="ps-td"><code>&#8209;AccountSwitchKey</code></td> 
      <td class="ps-tableinner">
        <div class="ps-metadata">
          <span class="ps-param-metadata">String</span>
          <span class="ps-param-metadata">Pipeline input: False</span>
        </div>
        <div>
          <p>An account credential key that lets you move between accounts when using an API client enabled for multiple accounts. To find account switch keys, use <a href="https://techdocs.akamai.com/powershell/docs/get-accountswitchkey">Get-AccountSwitchKey</a>.</p>
        </div>
      </td>
    </tr>
    <tr>
      <td class="ps-td"><code>&#8209;ConfigID</code><br/><span style="color: red; padding-left: 11px; font-size: 13px;"><em>Conditionally required</em></span></td> 
      <td class="ps-tableinner">
        <div class="ps-metadata">
          <span class="ps-param-metadata">Int32</span>
          <span class="ps-param-metadata">Parameter sets: <code>Config ID</code></span>
          <span class="ps-param-metadata">Pipeline input: False</span>
        </div>
        <div>
          <p>Your configuration's ID.</p>
        </div>
      </td>
    </tr>
    <tr>
      <td class="ps-td"><code>&#8209;ConfigName</code><br/><span style="color: red; padding-left: 11px; font-size: 13px;"><em>Conditionally required</em></span></td> 
      <td class="ps-tableinner">
        <div class="ps-metadata">
          <span class="ps-param-metadata">String</span>
          <span class="ps-param-metadata">Parameter sets: <code>Config name</code></span>
          <span class="ps-param-metadata">Pipeline input: False</span>
        </div>
        <div>
          <p>The name of your security configuration.</p>
        </div>
      </td>
    </tr>
    <tr>
      <td class="ps-td"><code>&#8209;EdgeRCFile</code></td> 
      <td class="ps-tableinner">
        <div class="ps-metadata">
          <span class="ps-param-metadata">String</span>
          <span class="ps-param-metadata">Pipeline input: False</span>
        </div>
        <div>
          <p>Your EdgeGrid resource file to authenticate your command. Defaults to <code>~/.edgerc</code>.</p>
        </div>
      </td>
    </tr>
    <tr>
      <td class="ps-td"><code>&#8209;RatePolicyID</code><br/><span class="ps-param-alias">Alias: <code>&#8209;id</code></span><br/><span style="color: red; padding-left: 11px; font-size: 13px;"><em>Required</em></span></td> 
      <td class="ps-tableinner">
        <div class="ps-metadata">
          <span class="ps-param-metadata">Int32</span>
          <span class="ps-param-metadata">Pipeline input: ByPropertyName, ByValue</span>
        </div>
        <div>
          <p>Your rate policy's ID.</p>
        </div>
      </td>
    </tr>
    <tr>
      <td class="ps-td"><code>&#8209;Section</code></td> 
      <td class="ps-tableinner">
        <div class="ps-metadata">
          <span class="ps-param-metadata">String</span>
          <span class="ps-param-metadata">Pipeline input: False</span>
        </div>
        <div>
          <p>The section name in your EdgeGrid resource file to retrieve authentication credentials from. Defaults to <code>default</code>.</p>
        </div>
      </td>
    </tr>
    <tr>
      <td class="ps-td"><code>&#8209;VersionNumber</code><br/><span style="color: red; padding-left: 11px; font-size: 13px;"><em>Required</em></span></td> 
      <td class="ps-tableinner">
        <div class="ps-metadata">
          <span class="ps-param-metadata">String</span>
          <span class="ps-param-metadata">Pipeline input: False</span>
        </div>
        <div>
          <p>A configuration's version. Can be an integer or the word <code>latest</code>.</p>
        </div>
      </td>
    </tr>
  </tbody>
</table>

## Related Links

* [User Guide: Overview](https://techdocs.akamai.com/powershell/docs/overview)
* [API Reference](https://techdocs.akamai.com/application-security/reference/delete-rate-policy)

# Sibling pages

* [Behavioral DDoS](https://techdocs.akamai.com/powershell/docs/remove-appsecbehavioralddos.md)
* [Configuration](https://techdocs.akamai.com/powershell/docs/remove-appsecconfiguration.md)
* [Configuration version](https://techdocs.akamai.com/powershell/docs/remove-appsecconfigurationversion.md)
* [Configuration selected hostnames](https://techdocs.akamai.com/powershell/docs/remove-appsecselectedhostnames.md)
* [Custom deny action](https://techdocs.akamai.com/powershell/docs/remove-appseccustomdenyaction.md)
* [Custom rule](https://techdocs.akamai.com/powershell/docs/remove-appseccustomrule.md)
* [CVE subscription](https://techdocs.akamai.com/powershell/docs/remove-appseccvesubscription.md)
* [Malware policy](https://techdocs.akamai.com/powershell/docs/remove-appsecmalwarepolicy.md)
* [Match target](https://techdocs.akamai.com/powershell/docs/remove-appsecmatchtarget.md)
* [Onboarding](https://techdocs.akamai.com/powershell/docs/remove-appseconboarding.md)
* [Policy](https://techdocs.akamai.com/powershell/docs/remove-appsecpolicy.md)
* [Policy selected hostnames](https://techdocs.akamai.com/powershell/docs/remove-appsecpolicyselectedhostnames.md)
* [Reputation profile](https://techdocs.akamai.com/powershell/docs/remove-appsecreputationprofile.md)
* [Subscriptions](https://techdocs.akamai.com/powershell/docs/remove-appsecsubscription.md)
* [URL protection policy](https://techdocs.akamai.com/powershell/docs/remove-appsecurlprotectionpolicy.md)