Codes
Delete a cost code
Destructive. Permanently removes the entry from the list. There is no archive flag on a code and this cannot be undone.
Nothing else breaks, and nothing else changes either. Referenced by value from project.costCode, stage.costCode, deliverable.costCode, and work-session metadata.costCode. Those are plain string values with no foreign key behind them, so every record that already carries this code keeps it — the value simply stops appearing in the list. To retire a code while keeping it valid on existing records, PATCH it with { "isActive": false } instead.