---
title: "Insert or Update a lookup table row."
method: PUT
path: "/v1/lookupTables/{id}/row"
tags: ["lookupManagement"]
---

# Insert or Update a lookup table row.

`PUT /v1/lookupTables/{id}/row`

Insert or update a row of a lookup table with the given identifier. A new row is inserted if the primary key does not exist already, otherwise the existing row with the specified primary key is updated. All the fields of the lookup table are required and will be updated to the given values. In case a field is not specified then it will be assumed to be set to null. If the table size exceeds the maximum limit of 100MB then based on the size limit action of the table the update will be processed or discarded.

## Path parameters

- `id` string, required

## Request body

- RowUpdateDefinition — Lookup table data to be uploaded.
  - `row` TableRow[], required — A list of all the field identifiers and their corresponding values.
    - `columnName` string, required — Name of the column of the table.
    - `columnValue` string, required — Value of the specified column.

## Response `204`

Row updated successfully.

## Other responses

- `default` — Operation failed with an error.

---

[API](https://skmtc.net/sumologic/apis/sumo-logic-api.md) · [All operations](https://skmtc.net/sumologic/apis/sumo-logic-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/sumologic/sumo-logic-api/versions/18a824df1e78/schema)
