How to modify DNS Gateway policy using API

Hi,

I want to edit DNS policies in cloudfare teams gateway. More specifically, I want to update domains in the policies already created. However, I am unable to find API for these.