{
  "schemaVersion": 1,
  "snapshotDate": "2026-10-23",
  "slug": "api-put-api-workspaces-id-library",
  "title": "PUT /api/workspaces/:id/library",
  "section": "HTTP endpoint reference",
  "description": "PUT /api/workspaces/:id/library",
  "kind": "api",
  "url": "/wiki/api-put-api-workspaces-id-library/",
  "markdown": "/wiki/api-put-api-workspaces-id-library/index.md",
  "json": "/wiki/api-put-api-workspaces-id-library/index.json",
  "headings": [
    {
      "id": "request",
      "title": "Request",
      "depth": 2
    },
    {
      "id": "response",
      "title": "Response",
      "depth": 2
    },
    {
      "id": "guard",
      "title": "Guard",
      "depth": 2
    },
    {
      "id": "use-this-endpoint",
      "title": "Use this endpoint",
      "depth": 2
    }
  ],
  "sources": [
    "server/library-packs.ts"
  ],
  "contract": {
    "method": "PUT",
    "path": "/api/workspaces/:id/library",
    "description": "PUT /api/workspaces/:id/library",
    "request": {
      "path": [
        "id"
      ],
      "query": [],
      "body": []
    },
    "response": {
      "statuses": [],
      "fields": []
    },
    "source": {
      "file": "server/library-packs.ts",
      "line": 197
    },
    "guard": "Trusted-host Host/Origin boundary; per-route revision, version and validation checks apply."
  }
}
