---
title: "Updating data product is not allowed"
method: PUT
path: "/gdc/domains/{domainId}/dataproducts/{dataProductId}"
tags: ["lcm-dataproducts"]
---

# Updating data product is not allowed

`PUT /gdc/domains/{domainId}/dataproducts/{dataProductId}`

## Request

- Base URL: `https://secure.gooddata.com`
- URL: `https://secure.gooddata.com/gdc/domains/{domainId}/dataproducts/{dataProductId}`
- Auth: none declared

## Path parameters

- `domainId` string, required
- `dataProductId` string, required

## Request body

- LcmDataProduct
  - `dataProduct` object, required
    - `id` string, required: Data product id.
    - `links` LcmDataProductLinks
      - `self` string, uri, required: Link to this data product.
      - `domain` string, uri, required: Link to domain where the user belongs to.
      - `segments` string, uri, required: Link to clients.
      - `clients` string, uri, required: Link to dataproduct.

## Response `default`

Common error

- ErrorStructure: Common error structure for all GD public APIs
  - `error` object
    - `errorClass` string
    - `trace` string
    - `message` string
    - `component` string
    - `errorId` string
    - `errorCode` string
    - `parameters` string[]

## Other responses

- `405`: The API call failed because PUT request to this path is not allowed.

---

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