---
title: "Replace a shared data product definition"
method: PUT
path: "/v1/data-products/{id}/definition"
tags: ["Data Products"]
---

# Replace a shared data product definition

`PUT /v1/data-products/{id}/definition`

## Request

- Base URL: `https://api.talonic.com`
- URL: `https://api.talonic.com/v1/data-products/{id}/definition`
- Auth: HTTP bearer

Replaces the definition of a shared data product (the keyed dataset several runs contribute to) and bumps `definition_version`. Send `expected_definition_version` with the version you read: if anyone saved in between, the answer is 409 `revision_conflict` instead of an overwrite. Requires `products:write`.

## Path parameters

- `id` string, uuid, required

## Request body

- object
  - `definition` object, required: The full definition: identity, roles and readiness rules.
  - `expected_definition_version` integer: The version you edited.

## Response `200`

OK

- object
  - `id` string, uuid
  - `product_key` string
  - `definition` object
  - `definition_version` integer
  - `updated_at` string, date-time

## Other responses

- `400`: The request is invalid.
- `401`: Missing or invalid API key.
- `403`: The API key does not have the required scope.
- `404`: The requested resource was not found.
- `409`: The request conflicts with the current resource state.
- `429`: Daily rate limit exceeded.

## Changes

- **2026-11-26** `622d429de7ea`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/talonic/apis/talonic-api/changes/v1/data-products/:id/definition/put.md)

---

[API](https://skmtc.dev/talonic/apis/talonic-api.md) - [All operations](https://skmtc.dev/talonic/apis/talonic-api/llms.txt) - [OpenAPI document](https://skmtc.dev/talonic/apis/talonic-api/revisions/9f6d53e2ab5e?raw)
