DELETE /position/
Delete Position
DELETE
/position/{position_key}
Soft-delete a warehouse position.
Marks the position as deleted=True in the Position collection and removes
its is_in_position edge. Refuses deletion of the reserved IN root position
and any position that still has children or inventory contents.
Emits: (direct transaction — no event class)
Required scope: inventory:position:delete
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
Parameters
Path Parameters
position_key*
Required
Responses
Successful Response
application/json
JSON "status": 200, "message": "string", "detail": "string"
{
}