---
title: "POST /detector/{detectorId}/ipset/{ipSetId}"
method: POST
path: "/detector/{detectorId}/ipset/{ipSetId}"
---

# POST /detector/{detectorId}/ipset/{ipSetId}

`POST /detector/{detectorId}/ipset/{ipSetId}`

Updates the IPSet specified by the IPSet ID.

## Path parameters

- `detectorId` string, required
- `ipSetId` string, required

## Request body

- object
  - `name` string — The unique ID that specifies the IPSet that you want to update.
  - `location` string — The updated URI of the file that contains the IPSet.
  - `activate` boolean — The updated Boolean value that specifies whether the IPSet is active or not.

## Response `200`

Success

- UpdateIPSetResponse

## Other responses

- `480` — BadRequestException
- `481` — InternalServerErrorException

---

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