Close a public download link.
DELETE/api/v1/documents/{document_id}/permalinks/{permalink_id}documents:download
注記
このページの操作の説明は、API の OpenAPI 文書のとおり英語で記載しています。
Switches the link off: opening it answers 404 from then on. The row stays as the record, with its open count. Only the person who made the link can close it; closing a link that is already closed does nothing. Needs Revoke Document Permalinks, and no access to the document, so a link outlives the right to make it only until its maker closes it.
| スコープ | documents:download |
| 非同期 | いいえ |
| MCP ツール | delete_document_permalink |
| Portal の権限 | revoke_document_permalinks |
パラメーター
| 名前 | 場所 | 型 | 必須 | 説明 |
|---|---|---|---|---|
document_id | path | string | 必須 | |
permalink_id | path | string | 必須 | |
Docwize-Version | header | string (date) | 任意 | |
If-Match | header | string | 任意 |
応答
| ステータス | 説明 | 本文 |
|---|---|---|
204 | Done. | |
400 | invalid_version | 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 |
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 |
エラー
この操作が返す可能性のある problem のコードです。各コードからそのページに移動できます。