メインコンテンツまでスキップ

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_idpathstring必須
permalink_idpathstring必須
Docwize-Versionheaderstring (date)任意
If-Matchheaderstring任意

応答​

ステータス説明本文
204Done.
400invalid_versionapplication/problem+json Problem
401token_expired, unauthenticatedapplication/problem+json Problem
403forbidden, insufficient_scope, token_owner_inactiveapplication/problem+json Problem
404not_foundapplication/problem+json Problem
405method_not_allowedapplication/problem+json Problem
406not_acceptableapplication/problem+json Problem
412precondition_failedapplication/problem+json Problem
421wrong_regionapplication/problem+json Problem
422validation_failedapplication/problem+json Problem
500internal_errorapplication/problem+json Problem
503tenant_unavailable, unavailableapplication/problem+json Problem
504timeoutapplication/problem+json Problem

エラー​

この操作が返す可能性のある problem のコードです。各コードからそのページに移動できます。