---
updatedAt: 2026-04-20T19:22:21.000Z
---

# Clear the IP allowlist

Clears the IP allowlist for the specified API client. The allowlist specifies the range of IP addresses that can use the client when calling Identity Cloud APIs. This operation resets the default allow list to `["0.0.0.0/0"]`, which allows calling the APIs from any IP address.

# OpenAPI definition

```json
{
  "openapi": "3.0.0",
  "info": {
    "title": "Clients",
    "version": "2.0.0"
  },
  "servers": [
    {
      "url": "https://{hostname}"
    }
  ],
  "paths": {
    "/clients/clear_whitelist": {
      "post": {
        "operationId": "post-clear-whitelist",
        "summary": "Clear the IP allowlist",
        "description": "Clears the IP allowlist for the specified API client. The allowlist specifies the range of IP addresses that can use the client when calling Identity Cloud APIs. This operation resets the default allow list to `[\"0.0.0.0/0\"]`, which allows calling the APIs from any IP address.",
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "example": {
                  "$ref": "#/paths/~1clients~1delete/post/responses/200/content/application~1json/example"
                },
                "schema": {
                  "type": "object",
                  "description": "Modifies the IP allow list for an API client. The IP allow list specifies the IP addresses that are allowed to access the client. By default, any IP address can access a client.\n",
                  "properties": {
                    "stat": {
                      "type": "string",
                      "description": "Indicates the status of the operation.\n",
                      "enum": [
                        "OK",
                        "ERROR",
                        "FAIL"
                      ]
                    }
                  }
                }
              }
            },
            "description": "Successful response\n"
          }
        },
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "schema": {
                "properties": {
                  "for_client_id": {
                    "type": "string",
                    "description": "Access token or refresh token you want to inspect.\n",
                    "example": "67890fghij67890fghij"
                  }
                }
              }
            }
          }
        }
      }
    },
    "/clients/delete": {
      "post": {
        "operationId": "post-delete",
        "summary": "Delete an API client",
        "description": "Deletes an API client.",
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "schema": {
                "properties": {
                  "client_id_for_deletion": {
                    "type": "string",
                    "description": "Unique identifier of the API client to be deleted.\n",
                    "example": "67890fghij67890fghij"
                  }
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "example": {
                  "stat": "ok"
                },
                "schema": {
                  "type": "object",
                  "description": "Deletes an API client.\n",
                  "properties": {
                    "stat": {
                      "type": "string",
                      "enum": [
                        "OK",
                        "ERROR",
                        "FAIL"
                      ],
                      "description": "Indicates the status of the operation.\n"
                    }
                  }
                }
              }
            },
            "description": "Successful response\n"
          }
        }
      }
    }
  },
  "x-readme": {
    "samples-languages": [
      "curl",
      "python",
      "node"
    ],
    "explorer-enabled": true,
    "proxy-enabled": true
  },
  "externalDocs": {
    "url": "https://techdocs.akamai.com/identity-cloud-legacy-clients/reference",
    "description": "See documention for Akamai's Identity Cloud: Legacy Clients and Settings API\n"
  }
}
```