---
title: "POST /v1/organizations/{organizationId}/projects/{projectId}/pki/policies"
method: POST
path: "/v1/organizations/{organizationId}/projects/{projectId}/pki/policies"
tags: ["PKI"]
---

# POST /v1/organizations/{organizationId}/projects/{projectId}/pki/policies

`POST /v1/organizations/{organizationId}/projects/{projectId}/pki/policies`

## Request

- Base URL: `https://api.golioth.io`
- URL: `https://api.golioth.io/v1/organizations/{organizationId}/projects/{projectId}/pki/policies`
- Auth: API key in header `x-api-key` and API key in header `Authorization`

## Path parameters

- `organizationId` string, required
- `projectId` string, required

## Request body

- PKICreatePKIPolicyBody
  - `policyId` string
  - `providerId` string
  - `type` string

## Response `200`

A successful response.

- GoliothCreatePKIPolicyResponse
  - `data` GoliothPKIPolicy
    - `createdAt` string, date-time
    - `id` string
    - `providerId` string
    - `type` string
    - `updatedAt` string, date-time

## Other responses

- `default`: An unexpected error response.

## Changes

- **2026-01-24** `4455dbc25e7d`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/golioth/apis/golioth-api/changes/v1/organizations/:organizationId/projects/:projectId/pki/policies/post.md)

---

[API](https://skmtc.dev/golioth/apis/golioth-api.md) - [All operations](https://skmtc.dev/golioth/apis/golioth-api/llms.txt) - [OpenAPI document](https://skmtc.dev/golioth/apis/golioth-api/revisions/47c98ae69a55?raw)
