pontos-venda-protected

Delete Ponto Venda

Point-of-sale deletion is disabled for tenant users.

Deleting a PV makes historical data (leads, credit logs, exports, vehicles, financials) go stale, so no company user — not even an admin — may delete a Ponto de Venda. system_admin escape hatches live in app/routes/admin.py. Raised OUTSIDE any try/except so it surfaces as a 403, not a swallowed 500.

delete/api/pontos-venda/{pv_id}

Path parameters

pv_idinteger required

Headers

x-api-tokenstring nullable

Response

Successful Response

{"stackTrail":"paths:/api/pontos-venda/{pv_id}:delete:responses:200:content:application/json:schema","oasType":"schema","type":"unknown"}

Changes

No recorded changes to this endpoint across all 1 revision of this API.