If you have already attached a switch via SNMP, to switch to REST API you have to remove actual switch connected via SNMP and make new connection via the REST API.
You will lose history collected via SNMP unfortunatelly in this way.
But on the other hand, you can use SNMP and REST API monitoring simultaneously, but then Total graphs will show both switches of course.