---
title: "Update VariableRow"
method: PATCH
path: "/variables/rows/{variable_row_id}"
tags: ["VariableRow"]
---

# Update VariableRow

`PATCH /variables/rows/{variable_row_id}`

Used to update existing an existing variable row

## Path parameters

- `variable_row_id` string, required

## Headers

- `If-Match` string

## Request body

- VariableRow
  - `id` string — The ID of the VariableRow
  - `table_id` string — The ID of the VariableRow's parent table
  - `row` Variable[]
    - `name` string — The variable name
    - `value` string — The value associated with the variable defined in the "name" field
  - `created_time` integer — Time at which the VariableRow was created
  - `created_by_id` string — The ID of the user who created this VariableRow
  - `last_updated_time` integer — Time at which the VariableRow was last updated
  - `last_updated_by_id` string — The ID of the user who last updated this VariableRow
  - `organization_id` string — The ID of the organization associated with this VariableRow
  - `scenario_id` string — The ID of the particular scenario to differentiate between rows in a VariableTable

## Response `200`

The updated row

- VariableRow
  - `id` string — The ID of the VariableRow
  - `table_id` string — The ID of the VariableRow's parent table
  - `row` Variable[]
    - `name` string — The variable name
    - `value` string — The value associated with the variable defined in the "name" field
  - `created_time` integer — Time at which the VariableRow was created
  - `created_by_id` string — The ID of the user who created this VariableRow
  - `last_updated_time` integer — Time at which the VariableRow was last updated
  - `last_updated_by_id` string — The ID of the user who last updated this VariableRow
  - `organization_id` string — The ID of the organization associated with this VariableRow
  - `scenario_id` string — The ID of the particular scenario to differentiate between rows in a VariableTable

## Other responses

- `400` — Invalid or missing parameter
- `401` — User not authenticated
- `403` — User not authorized
- `404` — Environment not found
- `default` — Unknown error

---

[API](https://skmtc.net/mabl/apis/mabl-api.md) · [All operations](https://skmtc.net/mabl/apis/mabl-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/mabl/mabl-api/revisions/d0fc0114da66/schema)
