---
title: "Create or replace metadata"
method: PUT
path: "/api/metadata/{table}/{key}"
tags: ["metadata"]
---

# Create or replace metadata

`PUT /api/metadata/{table}/{key}`

Asynchronous. Creates or replaces the item associated with the specified key. 200 response indicates a valid request that will be processed; updates may not be made immediately. Use GET /api/metadata/{table}/{key} to verify completion.

## Path parameters

- `table` string, required
- `key` string, required

## Request body

- PutMetadataRequest
  - `value` object, required — The JSON metadata value. Max size is is 30kb.

## Response `200`

successful operation

## Other responses

- `400` — Invalid parameters
- `401` — Invalid API key

---

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