1. make an official report of wrongdoing
write someone up for their bad behaviour
When you 'write up' someone, you officially report someone for breaking a law or rule. If someone 'writes you up' there may be a written record of your misconduct. This is an expression used more often in formal contexts.