DELETE /inventory/count-session
Delete Counting Session
DELETE
/inventory/count-session
Delete a planned counting session.
Removes the InventoryCountSession document and all associated
InventoryCountAssignment records within a single transaction. Only sessions
in planned status may be deleted; started or completed sessions return 422.
Emits: (direct transaction — no event class)
Required scope: inventory:count: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
Query Parameters
counting_session_key*
Type
Requiredstring
Responses
Successful Response
application/json
JSON "status": 200, "message": "string", "detail": "string"
{
}