Use the POST /rest/1/admin/disableCDN endpoint to disable CDN.
This endpoint is for admin use only.
If you have a problem loading content from the CDN server, you can disable the CDN using this endpoint.
You can perform the same action in the Administration Console. Go to Administration > Settings > Instance Settings and then uncheck the Use CDN for JS&CSS Files box.
There are no parameters for this endpoint.