# Create a IP Allowlist config

Creates a new IP Allowlist config

Endpoint: POST /v1/ip-allowlist
Version: 1.0
Security: x-api-key

## Header parameters:

  - `Harness-Account` (string)
    Identifier field of the account the resource is scoped to. This is required for Authorization methods other than the x-api-key header. If you are using the x-api-key header, this can be skipped.

## Request fields (application/json):

  - `ip_allowlist_config` (object)
    This contains data for a config set in Harness to allow selected IPs

  - `ip_allowlist_config.name` (string, required)
    Name of the IP Config defined in Harness

  - `ip_allowlist_config.identifier` (string, required)
    Identifier of the IP Config

  - `ip_allowlist_config.description` (string)
    Description of the entity

  - `ip_allowlist_config.enabled` (boolean)
    If true, it will allow all the IPs that are part of the config and block others.

  - `ip_allowlist_config.tags` (object)
    IP Allowlist tags

  - `ip_allowlist_config.allowed_source_type` (array)
    Enum: "UI", "API"

  - `ip_allowlist_config.ip_address` (string, required)

## Response 201 fields (application/json):

  - `ip_allowlist_config` (object, required)
    This contains data for a config set in Harness to allow selected IPs

  - `created` (integer, required)
    Creation timestamp for the IP Allowlist config.

  - `updated` (integer, required)
    Last modification timestamp for IP Allowlist config.


