Correct. The deal was between P5 plus 1 and Iran. Subsequently, the entire world endorsed the deal with a vote in the UN General Assembly.
If Trump wants to re-apply the sanctions, he will need the P5 plus 1 and the rest of the world to co-operate.