---
title: "Create Global Pcr Policy"
method: POST
path: "/v1/cvm/global-pcr-policy"
tags: ["CVM Attestation"]
---

# Create Global Pcr Policy

`POST /v1/cvm/global-pcr-policy`

Replace global PCR policy records for supported measurement kinds.

## Headers

- `authorization` string, nullable

## Request body

- GlobalPcrPolicyCreateRequest — Request schema for global PCR policy create.
  - `policies` GlobalPcrPolicyItem[], required
    - `measurement_kind` string, required
    - `measurement_hash` string, required
    - `hash_alg` 'sha256'
    - `pcr_bank` 'sha256'
    - `is_active` boolean

## Response `201`

Successful Response

- GlobalPcrPolicyCreateResponse — Response schema for creating global PCR policy.
  - `saved_count` integer, required

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.dev/flower/apis/superlink-api.md) · [All operations](https://skmtc.dev/flower/apis/superlink-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/flower/superlink-api/revisions/58e8351486b3/schema)
