---
title: "Bulk update Legacy Request Tasks for a Legacy Request"
method: POST
path: "/requests/{request_id}/tasks:bulk-update"
tags: ["legacyRequests"]
---

# Bulk update Legacy Request Tasks for a Legacy Request

`POST /requests/{request_id}/tasks:bulk-update`

## Request

- Base URL: `https://{tenant_name}.benchling.com/api/v2`
- URL: `https://{tenant_name}.benchling.com/api/v2/requests/{request_id}/tasks:bulk-update`
- Auth: HTTP bearer

Bulk update Legacy Request Tasks for a Legacy Request

## Path parameters

- `request_id` string, required

## Request body

- RequestTasksBulkUpdateRequest: A request body for bulk updating Legacy Request Tasks.
  - `tasks` RequestTaskBase[], required: The Legacy Request Tasks to update
    - `fields` Fields
    - `sampleGroupIds` string[]: IDs of all Legacy Request Sample Groups now associated with this task.
    - `id` string, required: ID of the Legacy Request Task

## Response `200`

OK

- RequestTasksBulkUpdateResponse
  - `tasks` RequestTask[]: The Legacy Request Tasks to update
    - `fields` Fields
    - `sampleGroupIds` string[]: IDs of all Legacy Request Sample Groups now associated with this task.
    - `id` string, required: ID of the Legacy Request Task
    - `schema` SchemaSummary
      - `id` string
      - `name` string

## Other responses

- `404`: Not Found

---

[API](https://skmtc.dev/benchling/apis/benchling-api-2.md) - [All operations](https://skmtc.dev/benchling/apis/benchling-api-2/llms.txt) - [OpenAPI document](https://skmtc.dev/benchling/apis/benchling-api-2/revisions/01d2fa8523cd?raw)
