Revoke Document
revoke_docDisable public sharing for a document without deleting it. Remove the document only when it must be permanently deleted.
Instructions
Disable public sharing for a document without deleting the document. Use delete_doc only when the document itself should be removed.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| docId | Yes | AFFiNE document id. | |
| workspaceId | No | AFFiNE workspace id. Omit only when AFFINE_WORKSPACE_ID is configured. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | ||
| kind | Yes | ||
| docId | Yes | ||
| workspaceId | Yes |