Make a bulk download public or private (JSON Merge Patch).
PATCH/api/v1/bulk-downloads/{bulk_download_id}documents:write
is_public true gives the entry a public link anyone can download from without signing in; false closes it (the old link then answers 404). Making a public entry public again keeps its link. Only your own entries. Needs Edit Bulk Download Bundles, with Share Bulk Download Bundles and Share Documents Externally to make an entry public and Revoke Bulk Download Shares to close a public one. The entry is shown with View Bulk Download Bundles, otherwise the answer is the write receipt.
| Scope | documents:write |
| Asynchronous | No |
| MCP tool | update_bulk_download |
| Portal permissions | edit_bulk_download_bundles |
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
bulk_download_id | path | string | Required | |
Docwize-Version | header | string (date) | Optional | |
If-Match | header | string | Optional |
Request body
| Content type | Type |
|---|---|
application/json | BulkDownloadPatchInput |
application/merge-patch+json | BulkDownloadPatchInput |
Responses
| Status | Description | Body |
|---|---|---|
200 | Success. | application/json BulkDownload or object |
400 | invalid_version, malformed_json | application/problem+json Problem |
401 | token_expired, unauthenticated | application/problem+json Problem |
403 | forbidden, insufficient_scope, token_owner_inactive | application/problem+json Problem |
404 | not_found | application/problem+json Problem |
405 | method_not_allowed | application/problem+json Problem |
406 | not_acceptable | application/problem+json Problem |
412 | precondition_failed | application/problem+json Problem |
413 | payload_too_large | application/problem+json Problem |
415 | unsupported_media_type | application/problem+json Problem |
421 | wrong_region | application/problem+json Problem |
422 | validation_failed | application/problem+json Problem |
500 | internal_error | application/problem+json Problem |
503 | tenant_unavailable, unavailable | application/problem+json Problem |
504 | timeout | application/problem+json Problem |
Errors
The problem codes this operation can answer with. Each code links to its page.
Schemas
BulkDownload
| Field | Type | Required | Description |
|---|---|---|---|
bulk_download_id | string | Required | |
can_download | boolean | Required | Whether the file is finished and in storage: GET its download-url. |
created_at | string (date-time) or null | Required | |
description | string or null | Required | |
error | string or null | Required | |
filename | string or null | Required | The name the file is saved under. |
is_public | boolean | Required | Whether anyone with public_link can download the file without signing in. |
public_link | string or null | Required | The absolute public link while is_public is true; null otherwise. |
size_bytes | string or null | Required | The stored file's size; null until the file exists. |
state | string | Required | in_progress, completed or failed (open). |
status | string | Required | The Download Manager's own status text: Retrieving data, Generating Files, Creating Zip File, Uploading File, Completed, Failed, No rows to export (open). |
updated_at | string (date-time) or null | Required |
BulkDownloadPatchInput
| Field | Type | Required | Description |
|---|---|---|---|
bulk_download_id | string or null | Optional | |
can_download | boolean or null | Optional | |
created_at | string (date-time) or null | Optional | |
description | string or null | Optional | |
error | string or null | Optional | |
filename | string or null | Optional | |
is_public | boolean or null | Optional | true makes the file downloadable by anyone with public_link (a new link is made); false closes the link. |
public_link | string or null | Optional | |
size_bytes | string or null | Optional | |
state | string or null | Optional | |
status | string or null | Optional | |
updated_at | string (date-time) or null | Optional |