---
title: "Replace a Lookup Table"
method: PUT
path: "/lookup-tables/{id}"
tags: ["Lookup Tables"]
---

# Replace a Lookup Table

`PUT /lookup-tables/{id}`

## Path parameters

- `id` string, uuid, required

## Query parameters

- `project_id` string, required

## Headers

- `Content-Type` 'text/csv'

## Response `200`

A 200 response indicates all records were successfully ingested.

- object
  - `code` integer
  - `status` string

## Other responses

- `400` — A 400 response indicates that some records failed validation.
- `401` — A 401 response indicates invalid credentials.
- `404` — A 404 response indicates that the entity to replace was not found.
- `413` — A 413 response indicates that the payload is too large.
- `429` — A 429 response indicates rate limits have been exceeded.

---

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