Per my research
The contents of the file. Pass the content parameter in the request body. The maximum size of a binary file that you can add by using the REST API is 2 GB.
You can refer to the following document
The option 4 doesn't limit size of files.Internal testing has shown that a chunk block size of 8 MB works best, but off course this depends on the network connection you're using
If an Answer is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.