---
title: "Update library"
method: PATCH
path: "/content/libraries/{uuid}"
tags: ["Content - Libraries"]
---

# Update library

`PATCH /content/libraries/{uuid}`

Update a workspace library

## Path parameters

- `uuid` string, uuid, required — Library identifier.

## Request body

- object — Request body schema.
  - `name` string — Library name.
  - `config` object — Library configuration.
  - `folderUuid` string, uuid, nullable — Default folder for synced files.

## Response `200`

Successful response

- object
  - `library` union, required
    - object — Updated library details.
      - `uuid` string, required
      - `workspaceUuid` string, required
      - `name` string, required
      - `extractorSlug` string, required
      - `config` object, required
      - `folderUuid` string, nullable, required
      - `lastSyncedAt` string, nullable, required
      - `createdAt` string, required
      - `updatedAt` string, required
      - `deletedAt` string, nullable, required
      - `kind` 'connector', required
      - `connectorUuid` string, required
    - object — Updated library details.
      - `uuid` string, required
      - `workspaceUuid` string, required
      - `name` string, required
      - `extractorSlug` string, required
      - `config` object, required
      - `folderUuid` string, nullable, required
      - `lastSyncedAt` string, nullable, required
      - `createdAt` string, required
      - `updatedAt` string, required
      - `deletedAt` string, nullable, required
      - `kind` 'native', required

## Other responses

- `400` — Bad request
- `401` — Unauthorized
- `404` — Not found
- `500` — Internal server error

---

[API](https://skmtc.net/getcargo/apis/cargo-api.md) · [All operations](https://skmtc.net/getcargo/apis/cargo-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/getcargo/cargo-api/revisions/1d5a19e01d83/schema)
