---
title: "Set PIN"
method: POST
path: "/api/v1/cards/{publicToken}/pin"
tags: ["Card PIN"]
---

# Set PIN

`POST /api/v1/cards/{publicToken}/pin`

## Path parameters

- `publicToken` string, required

## Request body

- SetCardPinRequest — Request class to set card pin
  - `cardPin` string, required — The new PIN for the associated card.
  - `description` string, nullable — Description.
  - `updatedBy` string, nullable — User.

## Response `204`

No Content

## Other responses

- `400` — Bad Request
- `401` — Unauthorized
- `403` — Forbidden
- `404` — Not Found
- `500` — Server Error

---

[API](https://skmtc.dev/thredd/apis/core-cards.md) · [All operations](https://skmtc.dev/thredd/apis/core-cards/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/thredd/core-cards/revisions/841f62def5bf/schema)
