So only possible solution is setting XDataExcludePropertyAttribute for all associations pointing to TEntity or at least define cascade, so that data won't be saved using these associations.
There are multiple solutions, but depends on what you want to do.
Do you want Parent property to be completely absent from JSON? Then XDataExcludePropertyAttribute is a good option.
Do you want it to be present in JSON but not be modifiable? Then you can define (remove) some cascades like Merge, Flush and Save to indeed prevent it from being changed.
But, the 100% flexible and customizable way is to use a service operation where you define your own logic and your own JSON interface. If your endpoint is not 100% mapped to the database, more "correct" way is to use DTOs and service operations.