---
search:
  tags:
    - Suppliers
    - DELETE
seo:
  description: >-
    Admin, inventory manager, or branch manager. Clears the active flag…
    Reference for the DELETE /api/v1/suppliers/{supplierId} endpoint in the
    PharmaFlow API.
sidebar:
  label: Deactivate a supplier
  badge: DELETE
title: Deactivate a supplier
type: openapi-operation
---
Admin, inventory manager, or branch manager. Clears the active flag instead of deleting. Batches and past receipts still point at the supplier, so it only leaves the default list.

`DELETE /api/v1/suppliers/{supplierId}`

**Responses**

- `204` — Supplier deactivated
- `401` — Not authenticated
- `403` — Caller is not an admin, inventory manager, or branch manager
- `404` — Supplier not found
