NextCloud Folder icon

NextCloud Folder

Manage files, folders and shares on Nextcloud (WebDAV)

Actions12

Share → Delete

AI-generated

Summary

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.

Links

Discussion