---
title: "Updates the status of an IP."
method: PATCH
path: "/api/v2/companies/{id}/ips"
tags: ["Company Digital Footprint"]
---

# Updates the status of an IP.

`PATCH /api/v2/companies/{id}/ips`

Update the status of an IP.

## Path parameters

- `id` integer, required

## Request body

- object
  - `IP` string — The IP to be updated.
  - `Status` 'Active' | 'Inactive', nullable, required — The new status of the IP. Inactive IP are excluded from the scans and from the risk score calculations.

## Response `200`

Success

## Other responses

- `400` — BadRequest
- `401` — Unauthorized
- `403` — Forbidden
- `404` — Not Found
- `default` — Failure

---

[API](https://skmtc.net/blackkitetech/apis/black-kite-api.md) · [All operations](https://skmtc.net/blackkitetech/apis/black-kite-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/blackkitetech/black-kite-api/versions/7dadaba760fb/schema)
