---
title: "Put IpAllowlistPolicy entity"
method: PUT
path: "/api/v1/entities/ipAllowlistPolicies/{id}"
tags: ["Organization - Entity APIs"]
---

# Put IpAllowlistPolicy entity

`PUT /api/v1/entities/ipAllowlistPolicies/{id}`

## Request

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

## Path parameters

- `id` string, required

## Query parameters

- `filter` string
- `include` string[]

## Request body

- JsonApiIpAllowlistPolicyInDocument
  - `data` JsonApiIpAllowlistPolicyIn, required: JSON:API representation of ipAllowlistPolicy entity.
    - `attributes` object, required
      - `allowedSources` string[], nullable, required: Allowed source IPv4 or IPv6 addresses or CIDR ranges. The /0 and ::/0 prefixes are not allowed.
    - `id` string, required: API identifier of an object
    - `relationships` object
      - `userGroups` object
        - `data` JsonApiUserGroupLinkage[], required: References to other resource objects in a to-many (\"relationship\"). Relationships can be specified by including a member in a resource's links object.
          - `id` string, required
          - `type` 'userGroup', required
      - `users` object
        - `data` JsonApiUserLinkage[], required: References to other resource objects in a to-many (\"relationship\"). Relationships can be specified by including a member in a resource's links object.
          - `id` string, required
          - `type` 'user', required
    - `type` 'ipAllowlistPolicy', required: Object type

## Response `200`

Request successfully processed

- JsonApiIpAllowlistPolicyOutDocument
  - `data` JsonApiIpAllowlistPolicyOut, required: JSON:API representation of ipAllowlistPolicy entity.
    - `attributes` object, required
      - `allowedSources` string[], nullable, required: Allowed source IPv4 or IPv6 addresses or CIDR ranges. The /0 and ::/0 prefixes are not allowed.
    - `id` string, required: API identifier of an object
    - `relationships` object
      - `userGroups` object
        - `data` JsonApiUserGroupLinkage[], required: References to other resource objects in a to-many (\"relationship\"). Relationships can be specified by including a member in a resource's links object.
          - `id` string, required
          - `type` 'userGroup', required
      - `users` object
        - `data` JsonApiUserLinkage[], required: References to other resource objects in a to-many (\"relationship\"). Relationships can be specified by including a member in a resource's links object.
          - `id` string, required
          - `type` 'user', required
    - `type` 'ipAllowlistPolicy', required: Object type
  - `included` JsonApiIpAllowlistPolicyOutIncludes[]: Included resources
    - union
      - JsonApiUserOutWithLinks: JSON:API representation of user entity.
        - `attributes` object
          - `authenticationId` string
          - `email` string
          - `firstname` string
          - `lastname` string
          - `systemAccount` boolean: Is user system account
        - `id` string, required: API identifier of an object
        - `relationships` object
          - `userGroups` object
            - `data` JsonApiUserGroupLinkage[], required: References to other resource objects in a to-many (\"relationship\"). Relationships can be specified by including a member in a resource's links object.
              - …
        - `type` 'user', required: Object type
        - `links` ObjectLinks
          - `self` string, uri, required: A string containing the link's URL.
      - JsonApiUserGroupOutWithLinks: JSON:API representation of userGroup entity.
        - `attributes` object
          - `name` string
        - `id` string, required: API identifier of an object
        - `relationships` object
          - `parents` object
            - `data` JsonApiUserGroupLinkage[], required: References to other resource objects in a to-many (\"relationship\"). Relationships can be specified by including a member in a resource's links object.
              - …
        - `type` 'userGroup', required: Object type
        - `links` ObjectLinks
          - `self` string, uri, required: A string containing the link's URL.
  - `links` ObjectLinks
    - `self` string, uri, required: A string containing the link's URL.
  - `meta` object
    - `restricted` RestrictedObject[]: References withheld from `included` because the caller may not view them. Their `relationships` entries are kept, so a client can render a placeholder instead of treating the reference as missing. Empty when the caller may view every reference in the payload; absent entirely when no object-level permissions apply to the request.
      - `id` string, required: Object identifier, unique within one workspace hierarchy.
      - `type` 'analyticalDashboard' | 'attribute' | 'attributeHierarchy' | 'computedAttribute' | 'fact' | 'label' | 'metric' | 'userDataFilter' | 'visualizationObject', required: JSON:API type of the restricted object. Matches the `type` of its entry in the resource's `relationships`.

---

[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)
