---
title: "Update a resource"
method: PATCH
path: "/metadata/resources/{owner}"
tags: ["catalog resources"]
---

# Update a resource

`PATCH /metadata/resources/{owner}`

Update a resource of any type in the organization. Properties that are not defined in the request are not updated. When updating properties that have a single value, the old value is replaced by the new value in the request. When updating properties that have a list of values, see "updateListBy" query parameter for more granular controls. To delete properties, use "Delete properties from a resource". To update multiple resources at once, use "Bulk: update multiple resources at once".

## Path parameters

- `owner` string, required

## Query parameters

- `iri` string, required
- `updateListBy` 'ADD' | 'REMOVE' | 'REPLACE', required

## Request body

- CatalogResourceRequest
  - `collections` string[] — Collections, identified by IRI, that this resource is added into. Required when creating a resource. Available collections can be discovered using "Search for resources" endpoint.
  - `properties` object — Create/update any property that is associated with a metadata presentation. Key is the IRI of the property. Value is the intended value of the property.
  - `title` string — Title of the resource. Required when creating a resource.

## Response `200`

default response

- CatalogResourceResponse
  - `collections` string[] — Collections that the resource is a part of
  - `iri` string, uri — IRI of the resource
  - `properties` object — All properties of the resource that are associated with a metadata presentation. Key is the IRI of the property. Value is the value of the property.
  - `sourceId` string — Database of the resource (applies only to tables and columns)
  - `tableId` string — Table id of the resource (applies only to columns)
  - `tableIri` string — Table IRI of the resource (applies only to columns)
  - `title` string — Title of the resource
  - `types` string[] — Type of the resource
  - `url` string, uri — A URL that redirects to the resource's page on data.world

---

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