---
title: "Set label configuration of endpoint"
method: PATCH
path: "/endpoint/{id}/labels"
tags: ["endpoint"]
---

# Set label configuration of endpoint

`PATCH /endpoint/{id}/labels`

Sets labels associated with an endpoint. These can be user provided or
derived from the orchestration system.

## Path parameters

- `id` string, required

## Request body

- LabelConfigurationSpec — User desired Label configuration of an endpoint
  - `user` string[] — Set of labels

## Response `200`

Success

## Other responses

- `403` — Forbidden
- `404` — Endpoint not found
- `429` — Rate-limiting too many requests in the given time frame
- `500` — Error while updating labels
- `503` — Service Unavailable

---

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