Skip to content

DELETE /reset/inventory

Reset Warehouse Data

DELETE
/reset/inventory

Truncate inventory movement data.

Deletes all records from movement and MovementList collections, then
removes all is_in_position edges whose _from vertex is a Product
document. Position-definition documents (locations, bins) are preserved.

Emits: (direct transaction — no event class)

Required scope: admin:operation:reset-inventory

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"
}

Samples

Powered by VitePress OpenAPI

Released under the Apache 2.0 License.