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

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

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

## Request

- Base URL: `https://chromepolicy.googleapis.com`
- URL: `https://chromepolicy.googleapis.com/v1/customers/{customersId}/policies/networks:defineCertificate`
- 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:defineCertificate/post.ts> (a function with typed inputs; its response is checked against the schema)

Creates a certificate at a specified OU for a customer.

## Path parameters

- `customersId` string, required

## Request body

- GoogleChromePolicyVersionsV1DefineCertificateRequest: Request object for creating a certificate.
  - `ceritificateName` string: Optional. The optional name of the certificate. If not specified, the certificate issuer will be used as the name.
  - `certificate` string: Required. The raw contents of the .PEM, .CRT, or .CER file.
  - `settings` GoogleChromePolicyVersionsV1NetworkSetting[]: Optional. Certificate settings within the chrome.networks.certificates namespace.
    - `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 certificate is applied. The following resources are supported: * Organizational Unit ("orgunits/{orgunit_id}")

## Response `200`

Successful response

- GoogleChromePolicyVersionsV1DefineCertificateResponse: Response object for creating a certificate.
  - `networkId` string: The guid of the certificate created by the action.
  - `settings` GoogleChromePolicyVersionsV1NetworkSetting[]: the affiliated settings of the certificate (NOT IMPLEMENTED)
    - `policySchema` string: The fully qualified name of the network setting.
    - `value` object: The value of the network setting.
  - `targetResource` string: the resource at which the certificate is defined.

---

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