Setting project settings via REST calls

I think this guide should help you.