---
title: "Update a metadata item"
method: PUT
path: "/gdc/projects/{projectName}/dataload/metadata/{key}"
tags: ["metadata"]
---

# Update a metadata item

`PUT /gdc/projects/{projectName}/dataload/metadata/{key}`

## Request

- Base URL: `https://secure.gooddata.com`
- URL: `https://secure.gooddata.com/gdc/projects/{projectName}/dataload/metadata/{key}`
- Auth: none declared

You can update only a metadata key value. A key name cannot be changed.

## Request body

- MetadataItem1
  - `metadataItem` MetadataItemCommon, required
    - `key` string, required: Key of metadata item, only values matching \[a-zA-Z0-9-_]+\ regexp are permitted
    - `value` string, required: Value of metadata item

## Response `200`

OK - updates a CloudConnect metadata item, <key> must be exactly same as MetadataItem.key (key can't be changed)

- MetadataItem
  - `metadataItem` MetadataItemResponse, required
    - `key` string, required: Key of metadata item, only values matching \[a-zA-Z0-9-_]+\ regexp are permitted
    - `value` string, required: Value of metadata item
    - `links` object
      - `self` string, required

## Other responses

- `404`: Not Found - either the project or the CloudConnect metadata items doesn't exist

---

[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)
