Topic Link updating


We have in our courses, a module named resources. Within that module there are multiple topics, one of which is a topic containing a link to external resources. I would like to automate updating that link within that topic. Is this possible and if so, which API endpoint, or series of endpoints, do I need to call?