DELETE /reset/prod
Reset Production And Traceability Data
DELETE
/reset/prod
Truncate all production and traceability collections.
Deletes every document from the traceability collections (Batch, Job,
WorkOrder, Event, Serial, Issue, etc.) within a single ArangoDB transaction,
then re-inserts a clean site Queue document and removes media sub-directories
(serial, traceability, issue) from the /media volume.
WARNING: This operation is irreversible. Use only in development or
controlled staging environments.
Emits: (direct transaction — no event class)
Required scope: admin:operation:reset-prod
Authorizations
OAuth2PasswordBearer
password Flow
Token URL
"/api/auth"Scopes:
"admin"User can access and edit users and system settings"library"User can access and edit products"production"User can access and edit production plans"operator"User can access the operator panel and make production declarations
Responses
Successful Response
application/json
JSON "status": 200, "message": "string", "detail": "string"
{
}