# RemoveItemFromTaxonomy

## Permission Scope

item

## Overview

removeItemFromTaxonomy deletes the link between an item and a taxonomy node. Removing an assignment does not affect the item itself, the taxonomy node, or any other assignments the item may have. This supports scenarios such as reclassification, node consolidation, and cleanup of incorrect assignments.

## Business Rules

- The assignment (item + taxonomy node link) must exist in the system
- Removing an assignment does not affect the item or its other taxonomy assignments
- Removing an assignment does not affect the taxonomy node or its other item assignments
- Removal is permanent and cannot be undone

## Process Flow

```mermaid
flowchart TD
    A[Receive remove request] --> B{Assignment exists?}
    B -->|No| C[Return error: assignment not found]
    B -->|Yes| D[Delete assignment record]
    D --> E[Return success]
```

## External Dependencies

- None

## Error Scenarios

- **ASSIGNMENT_NOT_FOUND**: No assignment exists for the specified item and taxonomy node combination

## Test Cases

- returns error when assignment does not exist
- removes assignment successfully
