---
title: "Pin New DP Client Certificate"
method: POST
path: "/v2/control-planes/{controlPlaneId}/dp-client-certificates"
tags: ["DP Certificates"]
---

# Pin New DP Client Certificate

`POST /v2/control-planes/{controlPlaneId}/dp-client-certificates`

Pin a new DP Client Certificate to this control plane. A pinned dataplane certificate allows dataplanes configured with the certificate and corresponding private key to establish connection with this control plane.

## Request body

- object
  - `cert` string, required — JSON escaped string of the certificate.
  - `title` string, nullable — Title for the certificate.

## Response `201`

Response body for retrieving a dp-client-certificate.

- object
  - `item` DataPlaneClientCertificate
    - `id` string — Unique ID of the certificate entity.
    - `created_at` integer — Date certificate was created.
    - `updated_at` integer — Date certificate was last updated.
    - `cert` string, nullable — JSON escaped string of the certificate.
    - `title` string, nullable — Title of the certificate.

## Other responses

- `400` — Forbidden
- `401` — Unauthorized
- `403` — Forbidden
- `404` — Forbidden

## Changes

- **2026-05-20** `421937fd1ff5` — 2 info
  - added the new optional request property `title`
  - added the optional property `item/title` to the response with the `201` status
- **2025-08-22** `96118a9cd7f4` — 1 breaking
  - the response property `item/cert` became nullable for the status `201`
- **2025-06-27** `9f695af25102` — 4 info
  - added the non-success response with the status `400`
  - added the non-success response with the status `401`
  - added the non-success response with the status `403`
  - added the non-success response with the status `404`

[Change history](https://skmtc.dev/kong/apis/konnect-api/changes/v2/control-planes/:controlPlaneId/dp-client-certificates/post.md)

---

[API](https://skmtc.dev/kong/apis/konnect-api.md) · [All operations](https://skmtc.dev/kong/apis/konnect-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/kong/konnect-api/revisions/72502a676a92/schema)
