---
title: "POST /v1/customers/{customersId}/policies/networks:defineNetwork"
method: POST
path: "/v1/customers/{customersId}/policies/networks:defineNetwork"
tags: ["customers"]
---

# POST /v1/customers/{customersId}/policies/networks:defineNetwork

`POST /v1/customers/{customersId}/policies/networks:defineNetwork`

## Request

- Base URL: `https://chromepolicy.googleapis.com`
- URL: `https://chromepolicy.googleapis.com/v1/customers/{customersId}/policies/networks:defineNetwork`
- Auth: OAuth 2 and OAuth 2
  - Implicit: `https://accounts.google.com/o/oauth2/auth`
  - Scopes: `https://www.googleapis.com/auth/chrome.management.policy`
  - Authorization code: `https://accounts.google.com/o/oauth2/auth`
  - Token URL: `https://accounts.google.com/o/oauth2/token` scopes: `https://www.googleapis.com/auth/chrome.management.policy`
- TypeScript: <https://skmtc.dev/google/apis/chromepolicy/docs/v1/customers/:customersId/policies/networks:defineNetwork/post.ts> (a function with typed inputs; its response is checked against the schema)

Define a new network.

## Path parameters

- `customersId` string, required

## Request body

- GoogleChromePolicyVersionsV1DefineNetworkRequest: Request object for creating a new network.
  - `name` string: Required. Name of the new created network.
  - `settings` GoogleChromePolicyVersionsV1NetworkSetting[]: Required. Detailed network settings.
    - `policySchema` string: The fully qualified name of the network setting.
    - `value` object: The value of the network setting.
  - `targetResource` string: Required. The target resource on which this new network will be defined. The following resources are supported: * Organizational Unit ("orgunits/{orgunit_id}")

## Response `200`

Successful response

- GoogleChromePolicyVersionsV1DefineNetworkResponse: Response object for creating a network.
  - `networkId` string: Network ID of the new created network.
  - `settings` GoogleChromePolicyVersionsV1NetworkSetting[]: Detailed network settings of the new created network
    - `policySchema` string: The fully qualified name of the network setting.
    - `value` object: The value of the network setting.
  - `targetResource` string: The target resource on which this new network will be defined. The following resources are supported: * Organizational Unit ("orgunits/{orgunit_id}")

---

[API](https://skmtc.dev/google/apis/chromepolicy.md) - [All operations](https://skmtc.dev/google/apis/chromepolicy/llms.txt) - [OpenAPI document](https://skmtc.dev/google/apis/chromepolicy/revisions/c9f2e6e8732d?raw)
