---
title: "POST /v1/{+parent}/urlLists"
method: POST
path: "/v1/{+parent}/urlLists"
tags: ["projects"]
---

# POST /v1/{+parent}/urlLists

`POST /v1/{+parent}/urlLists`

Creates a new UrlList in a given project and location.

## Path parameters

- `parent` string, required

## Query parameters

- `urlListId` string

## Request body

- UrlList — UrlList proto helps users to set reusable, independently manageable lists of hosts, host patterns, URLs, URL patterns.
  - `name` string — Required. Name of the resource provided by the user. Name is of the form projects/{project}/locations/{location}/urlLists/{url_list} url_list should match the pattern:(^[a-z]([a-z0-9-]{0,61}[a-z0-9])?$).
  - `updateTime` string, google-datetime — Output only. Time when the security policy was updated.
  - `values` string[] — Required. FQDNs and URLs.
  - `createTime` string, google-datetime — Output only. Time when the security policy was created.
  - `description` string — Optional. Free-text description of the resource.

## Response `200`

Successful response

---

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