Hi @jairobaleta
No option to disable attachments using JSON (site scripts)
your best bet will be to trigger MS Flow from site script
the flow can then update the list settings to disable attachments using send an http request action in Flow
You would have to use rest api to update the list attachment settings
Regards,
Reza Dorrani
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly