Create a API connection to make a file private