---
search:
  tags:
    - Business controls
    - POST
seo:
  description: >-
    Owner administration or the explicitly assigned business permission is…
    Reference for the POST /api/v1/security/unlock endpoint in the PharmaFlow
    API.
sidebar:
  label: POST /unlock
  badge: POST
title: POST /unlock
type: openapi-operation
---
Owner administration or the explicitly assigned business permission is required. Actions are scoped to the signed-in branch. A request cannot be approved by its creator. Locked sessions return 423.

`POST /api/v1/security/unlock`

**Request body** (`application/json`, required)

- `email` (string<email>, required)
- `pin` (string, required)

Request body example:

```json
{
  "email": "user@example.com",
  "pin": "string"
}
```

**Responses**

- `200` — Operation completed
- `201` — Record created
- `400` — Invalid request
- `401` — Session expired or revoked
- `403` — Permission denied or self-approval
- `409` — Record changed or no longer actionable
- `423` — Register locked
