<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def deleteICM(uuid: str):
 """ Deletes an ICM"""

    _metadata = ICMMetadata.query.filter_by(id=uuid).first()
    db.session.delete(_metadata)
    db.session.commit()
    return ("", 204)