---
title: "Multi edit metadata"
method: PUT
path: "/hubs/{HubHashId}/projects/{ProjectId}/documents/multi_edit_metadata"
tags: ["Metadata"]
---

# Multi edit metadata

`PUT /hubs/{HubHashId}/projects/{ProjectId}/documents/multi_edit_metadata`

Bulk update metadata for one or more documents. Changes are applied to the latest revision of each specified document.

## Path parameters

- `HubHashId` string, required
- `ProjectId` integer, required

## Request body

- FeaturesDocumentsMultiEditMetadataMultiEditMetadataBody
  - `documentIds` string[], nullable
  - `metadata` FeaturesDocumentsMultiEditMetadataMultiEditMetadata
    - `size` string, nullable
    - `scale` string, nullable
    - `type` string, nullable
    - `suitability` string, nullable
    - `revisionPurpose` string, nullable
    - `disciplineIds` integer[], nullable

## Response `200`

OK

- FeaturesDocumentsMultiEditMetadataMultiEditMetadataResponse
  - `editedDocumentCount` integer
  - `readOnlyDocumentSkippedCount` integer

## Other responses

- `307` — According to the hub id, the request is at the wrong datacenter. Please retry with the URL in the "Location" header.
- `400` — The request is malformed or has invalid parameters values.
- `403` — The request is not authenticated.
- `404` — The project doesn't exist.

---

[API](https://skmtc.dev/bimtrackapp/apis/newforma-konekt-document-control-api.md) · [All operations](https://skmtc.dev/bimtrackapp/apis/newforma-konekt-document-control-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/bimtrackapp/newforma-konekt-document-control-api/revisions/4671d430ce39/schema)
