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

# POST /v1/{+parent}/parameters

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

Creates a new Parameter in a given project and location.

## Path parameters

- `parent` string, required

## Query parameters

- `parameterId` string
- `requestId` string

## Request body

- Parameter — Message describing Parameter resource
  - `name` string — Identifier. [Output only] The resource name of the Parameter in the format `projects/*/locations/*/parameters/*`.
  - `labels` object — Optional. Labels as key value pairs
  - `updateTime` string, google-datetime — Output only. [Output only] Update time stamp
  - `createTime` string, google-datetime — Output only. [Output only] Create time stamp
  - `format` 'PARAMETER_FORMAT_UNSPECIFIED' | 'UNFORMATTED' | 'YAML' | 'JSON' — Optional. Specifies the format of a Parameter.
  - `policyMember` ResourcePolicyMember — Output-only policy member strings of a Google Cloud resource's built-in identity.
    - `iamPolicyNamePrincipal` string — Output only. IAM policy binding member referring to a Google Cloud resource by user-assigned name (https://google.aip.dev/122). If a resource is deleted and recreated with the same name, the binding will be applicable to the new resource. Example: `principal://parametermanager.googleapis.com/projects/12345/name/locations/us-central1-a/parameters/my-parameter`
    - `iamPolicyUidPrincipal` string — Output only. IAM policy binding member referring to a Google Cloud resource by system-assigned unique identifier (https://google.aip.dev/148#uid). If a resource is deleted and recreated with the same name, the binding will not be applicable to the new resource Example: `principal://parametermanager.googleapis.com/projects/12345/uid/locations/us-central1-a/parameters/a918fed5`
  - `kmsKey` string — Optional. Customer managed encryption key (CMEK) to use for encrypting the Parameter Versions. If not set, the default Google-managed encryption key will be used. Cloud KMS CryptoKeys must reside in the same location as the Parameter. The expected format is `projects/*/locations/*/keyRings/*/cryptoKeys/*`.

## Response `200`

Successful response

---

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