---
title: "Update label"
method: PUT
path: "/labels/{labelId}"
tags: ["labels"]
---

# Update label

`PUT /labels/{labelId}`

Updates the label identified by the given `labelId`.

## Path parameters

- `labelId` integer, required

## Query parameters

- `workspaceId` integer

## Request body

- UpdateLabelRequest
  - `isDefault` boolean
  - `name` string
  - `value` string

## Response `200`

OK

- UpdateLabelResponse
  - `id` integer
  - `isDefault` boolean
  - `name` string
  - `value` string

## Other responses

- `400` — Bad request
- `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)
