---
search:
  tags:
    - Business controls
    - POST
seo:
  description: >-
    Owner administration or the explicitly assigned business permission…
    Reference for the POST /api/v1/security/staff/{id}/revoke endpoint in the
    PharmaFlow API.
sidebar:
  label: POST /staff/record/revoke
  badge: POST
title: POST /staff/record/revoke
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/staff/{id}/revoke`

**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
