---
title: "Update"
method: PATCH
path: "/ip_policies/{id}"
tags: ["IPPolicies"]
---

# Update

`PATCH /ip_policies/{id}`

Update attributes of an IP policy by ID

## Path parameters

- `id` string, required

## Headers

- `ngrok-version` integer, required

## Request body

- IPPolicyUpdate
  - `id` string — n/a
  - `description` string — human-readable description of the source IPs of this IP policy. optional, max 255 bytes.
  - `metadata` string — arbitrary user-defined machine-readable data of this IP policy. optional, max 4096 bytes.

## Response `200`

Update attributes of an IP policy by ID

- IPPolicy
  - `id` string — unique identifier for this IP policy
  - `uri` string — URI of the IP Policy API resource
  - `created_at` string — timestamp when the IP policy was created, RFC 3339 format
  - `description` string — human-readable description of the source IPs of this IP policy. optional, max 255 bytes.
  - `metadata` string — arbitrary user-defined machine-readable data of this IP policy. optional, max 4096 bytes.

---

[API](https://skmtc.net/ngrok/apis/ngrok-openapi.md) · [All operations](https://skmtc.net/ngrok/apis/ngrok-openapi/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/ngrok/ngrok-openapi/versions/1994bbb04714/schema)
