---
title: "Replace an existing analysis"
method: PUT
path: "/metadata/analysis/{owner}/{id}"
tags: ["legacy catalog - analysis"]
---

# Replace an existing analysis

`PUT /metadata/analysis/{owner}/{id}`

Please refer to the updated IRI-based resource endpoints.

## Path parameters

- `owner` string, required
- `id` string, required

## Request body

- MetadataRequest
  - `assetStatusIri` string
  - `collections` string[] — Catalog Collection to which this metadata resource is added. Required for POST and PUT.Available catalog collection can be discovered via appropriate discovery endpoints.
  - `description` string — A short, but descriptive statement about the metadata resource.
  - `properties` object — Custom properties for the metadata resource mapped to API Bindings. Can be simple name-value string pairs or nested values for a string name. See examples for details.
  - `summary` string
  - `tags` string[] — A collection of tags to identify the relevance of metadata resource. Tags with no spaces is defacto standard
  - `title` string — Title of the metadata resource. Required for POST and PUT.
  - `typeLabel` string — Indicates the type of metadata resource. Some examples of valid values are Report, Tableau dashboard, Glossary, Table, Database view etc. Default values will be assumed if not provided. Defaults to Report for analysis resources, Glossary for Glossary resources, Table for Table resources and Column for Column resources. Once specified during creation, this cannot be changed via PATCH. Only a PUT can change the type

## Response `200`

default response

- SuccessMessage
  - `message` string

---

[API](https://skmtc.dev/data/apis/data-world-public-api.md) · [All operations](https://skmtc.dev/data/apis/data-world-public-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/data/data-world-public-api/revisions/0a0cb1f94dad/schema)
