---
title: "Remove labels from datasets"
method: POST
path: "/datasets/labels/remove"
tags: ["labels"]
---

# Remove labels from datasets

`POST /datasets/labels/remove`

Removes the given list of labels from the given datasets.

## Query parameters

- `workspaceId` integer

## Request body

- AssociateDatasetsLabelsRequest
  - `datasetIds` string[]
  - `labelIds` integer[]

## Response `204`

OK - No content

## Other responses

- `403` — Operation not allowed

---

[API](https://skmtc.net/seqeralabs/apis/seqera-api.md) · [All operations](https://skmtc.net/seqeralabs/apis/seqera-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/seqeralabs/seqera-api/versions/13316c9fe5ff/schema)
