---
title: "Create / Replace a dataset"
method: PUT
path: "/datasets/{owner}/{id}"
tags: ["datasets"]
---

# Create / Replace a dataset

`PUT /datasets/{owner}/{id}`

Create or replace a dataset with a given id. If a dataset exists with the same id, this call will reset
such dataset and all the data contained in it.

## Path parameters

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

## Request body

- DatasetPutRequest
  - `assetStatusIri` string
  - `description` string
  - `desiredAutoSync` string, date-time — The desired time (in UTC) for the next automatic sync to occur. This sets the base time from which auto-sync intervals are calculated.
  - `license` 'Public Domain, PDDL, CC-0, CC-BY, CDLA-Permissive-1.0, CC-BY-IGO, CC-BY 3.0, CC-BY 3.0 AU, CC-BY 3.0 IGO, CC-BY-SA, CC-BY-SA 3.0, CDLA-Sharing-1.0, CC BY-NC, CC BY-ND, CC BY-ND 3.0, CC-BY 3.0 NZ, CC-BY-NC 3.0, CC BY-NC-ND, CC-BY-NC-SA 3.0, CC-BY-SA 3.0 NZ, CC-BY-NC-SA 3.0 NZ, CC-BY-NC 3.0 NZ, CC-BY-NC-ND-NZ-3.0, CC BY-NC-SA, Italian-ODL, MIT License, OGL, OGL-Canada, OGL-Nova Scotia, OGL-UK, OSODL, ODC-BY, ODC-ODbL, Other'
  - `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.
  - `summary` string
  - `tags` string[]
  - `title` string, required
  - `visibility` 'OPEN, PRIVATE', required

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