---
title: "PUT /api/v1/resources/{ResourceId}/labels"
method: PUT
path: "/api/v1/resources/{ResourceId}/labels"
---

# PUT /api/v1/resources/{ResourceId}/labels

`PUT /api/v1/resources/{ResourceId}/labels`

Adds the specified list of labels to the given resource (a document or folder)

## Path parameters

- `ResourceId` string, required

## Headers

- `Authentication` string, password

## Request body

- object
  - `Labels` SharedLabel[], required — List of labels to add to the resource.

## Response `200`

Success

- CreateLabelsResponse

## Other responses

- `480` — EntityNotExistsException
- `481` — UnauthorizedOperationException
- `482` — UnauthorizedResourceAccessException
- `483` — FailedDependencyException
- `484` — ServiceUnavailableException
- `485` — TooManyLabelsException

---

[API](https://skmtc.net/aws/apis/workdocs.md) · [All operations](https://skmtc.net/aws/apis/workdocs/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/aws/workdocs/versions/8a533af4e1ef/schema)
