---
title: "Add targets to IP allowlist policy"
method: POST
path: "/api/v1/actions/ipAllowlistPolicies/{id}/addTargets"
tags: ["Organization - Entity APIs"]
---

# Add targets to IP allowlist policy

`POST /api/v1/actions/ipAllowlistPolicies/{id}/addTargets`

## Request

- Base URL: `https://www.gooddata.ai`
- URL: `https://www.gooddata.ai/api/v1/actions/ipAllowlistPolicies/{id}/addTargets`
- Auth: none declared

## Path parameters

- `id` string, required

## Request body

- IpAllowlistPolicyTargets: Target delta for IP allowlist policy actions.
  - `targets` AssigneeIdentifier[], required
    - `id` string, required: Identifier of the assignee.
    - `type` 'user' | 'userGroup', required

## Response `204`

No Content

---

[API](https://skmtc.dev/gooddata/apis/gooddata-cn-oapi-all-api.md) - [All operations](https://skmtc.dev/gooddata/apis/gooddata-cn-oapi-all-api/llms.txt) - [OpenAPI document](https://skmtc.dev/gooddata/apis/gooddata-cn-oapi-all-api/revisions/c728ef303bfb?raw)
