---
title: "Update the status of sample groups in a Legacy Request"
method: POST
path: "/requests/{request_id}:execute-sample-groups"
tags: ["legacyRequests"]
---

# Update the status of sample groups in a Legacy Request

`POST /requests/{request_id}:execute-sample-groups`

## Request

- Base URL: `https://{tenant_name}.benchling.com/api/v2`
- URL: `https://{tenant_name}.benchling.com/api/v2/requests/{request_id}:execute-sample-groups`
- Auth: HTTP bearer

Update the status of sample groups in a Legacy Request

## Path parameters

- `request_id` string, required

## Request body

- SampleGroupsStatusUpdate: Specification to update status of sample groups on the request which were executed.
  - `sampleGroups` SampleGroupStatusUpdate[], required
    - `sampleGroupId` string, required: The string id of the sample group
    - `status` 'IN_PROGRESS' | 'COMPLETED' | 'FAILED', required: Status of a sample group

## Response `200`

OK

- ExecuteSampleGroups: The response is intentionally empty.

## Other responses

- `400`: Bad Request
- `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)
