Delete Blob
delete_blobDelete a blob from AFFiNE workspace storage, choosing permanent removal to bypass recoverable deletion. Specify workspace and blob key.
Instructions
Delete a blob from AFFiNE workspace storage. Set permanently only when the blob should bypass recoverable deletion.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key | Yes | Blob key returned by upload_blob or AFFiNE document metadata. | |
| confirmKey | No | Required when permanently=true and must exactly match key. | |
| permanently | No | If true, permanently delete the blob instead of marking it deleted. | |
| workspaceId | Yes | AFFiNE workspace id that owns the blob. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | No | ||
| key | No | ||
| code | No | ||
| kind | No | ||
| error | No | ||
| status | No | ||
| deleted | No | ||
| details | No | ||
| success | No | ||
| retryable | No | ||
| permanently | No | ||
| workspaceId | No |