Actions12
Share → Delete
AI-generatedSummary
Delete a share on Nextcloud by specifying the share's unique ID.
Inputs
- Share ID (required) — ID of the share to delete, identifying which share to remove.
- Path (required) — The path of the file or folder associated with the share; serves as context but the deletion action focuses on the Share ID.
Output shape
a list of JSON objects indicating success for each share deleted in the input items
Each output item contains a JSON object with a success flag and the shareId of the deleted share. If the deletion fails, an error is thrown unless 'Continue On Fail' is enabled.
Examples
Example 1: Deleting a public or user share by its ID returns confirmation of success.
Provide the Share ID and path of the shared item to delete the share link.