Using this API call you can replace the underlying spreadsheet of your app by uploading a new one - and of course - also automate this in a script.
This becomes especially useful when the data from your app comes from a backend system and you want to update it regularly by uploading a new spreadsheet with most recent data from your backend in a regular interval.
API Token required
This call requires an API Token for authentication.
Go to /user/apiTokens to create one. You need to supply the generated token in the
Authorization: Token <ApiToken>header to authenticate your account when using this API call.