---
title: "POST /dataservices/{dataservice}/datasets/"
method: POST
path: "/dataservices/{dataservice}/datasets/"
tags: ["dataservices"]
---

# POST /dataservices/{dataservice}/datasets/

`POST /dataservices/{dataservice}/datasets/`

## Request

- Base URL: `https://data.public.lu/api/1`
- URL: `https://data.public.lu/api/1/dataservices/{dataservice}/datasets/`
- Auth: none declared

## Headers

- `X-Fields` string, mask

## Request body

- DataserviceDatasetsAdd[]
  - `id` string, required: Id of the dataset to add

## Response `200`

Success

- Dataservice2028read29 (unresolved $ref)

## Other responses

- `400`: Malformed object id(s) in request
- `403`: Forbidden
- `404`: Dataservice not found
- `410`: Dataservice has been deleted

---

[API](https://skmtc.dev/public/apis/udata-api.md) - [All operations](https://skmtc.dev/public/apis/udata-api/llms.txt) - [OpenAPI document](https://skmtc.dev/public/apis/udata-api/revisions/3f583ca74f7e?raw)
