---
title: "Clear an account's PIN (admin)"
method: DELETE
path: "/accounts/{id}/pin"
tags: ["accounts"]
---

# Clear an account's PIN (admin)

`DELETE /accounts/{id}/pin`

## Request

- Base URL: `https://api.instruxi.dev/api/v1/enforcer`
- URL: `https://api.instruxi.dev/api/v1/enforcer/accounts/{id}/pin`
- Auth: one of:
  - API key in header `Authorization`
  - API key in header `X-API-Key`

Clears the target account's PIN and lockout so the user can enroll a fresh one — the tenant-admin reset, deliberately WITHOUT a 2FA code (the ActionManage route gate is the authorization). Never sets a value: an admin cannot know or choose a user's PIN.

## Path parameters

- `id` string, required

## Response `200`

OK

- InternalDeliveryHttpHandlerPinStatusResponse
  - `data` InternalDeliveryHttpHandlerPinStatusData
    - `pin_length` integer
    - `pin_set` boolean
  - `success` boolean

## Other responses

- `401`: Unauthorized
- `403`: Forbidden
- `404`: Not Found

---

[API](https://skmtc.dev/instruxi/apis/enforcer-api.md) · [All operations](https://skmtc.dev/instruxi/apis/enforcer-api/llms.txt) · [OpenAPI document](https://skmtc.dev/instruxi/apis/enforcer-api/revisions/fa82bc1becc0?raw)
