post https://api.sama.com/v2/projects//tasks/bulk_update.json
Tasks can be reprioritized in bulk by a request to the API. You need to supply the array of task ids, and the new priority value.
Tasks with lower priority values will be worked on first, and the default is 0. Range of value is between -2147483648 and 2147483647.
There is no hard limit on the number of tasks that can be submitted for a bulk priority update, but there is a chance that requests with a large number of tasks fail with a 5xx
error. A safe limit to avoid such errors is 100,000 tasks.
You can check current task priorities via the Get status of a set of tasks endpoint.