How do I perform a Bulk Write operation using the MongoDB Data API?

I am using the MongoDB Data API and I’m attempting to update many documents (thousands) with different values for each. Reading through the Data API documentation it seems as though there is no /bulk or bulkWrite action available.

In this case I have the document _id’s of each document I’d like to update and their respective changes. I attempted to add them all to a bulk update array like so:

  const userIds = ['123', 'abc', '567'];
  let bulkArr = [];

  for (const id of userIds) {
      updateOne: {
        filter: { _id: { $oid: id} },
        update: { $addToSet: { someArray: 'some value' } },

Then I tried making a request like this:

  var requestData = JSON.stringify({
    collection: "<collection>",
    database: "<database>",
    dataSource: "<datasource>",
    operations: bulkArr,

  var config = {
    method: "post",
    url: "",
    headers: {
      "Content-Type": "application/json",
      "Access-Control-Request-Headers": "*",
      "api-key": "<api_key>",
    data: requestData,

  const resp = await axios(config)
    .then(function (response) {
      return response;
    .catch(function (error) {
        status: error.response.status,
        message: "Update failed: " + error.response.statusText,
      return error;

This returns a 404. How can I perform a bulk update operation that is similar to this? Thanks!