Delete Share

nextcloud.delete_share
ActionFiles & storageconnection required

Calls the Nextcloud API with the connection's credentials.

Remove a share, so the file or folder is no longer reachable through it. The file itself is untouched.

Connection

Required
Yes — the node will not save without one
Auth type
Username & password
Providers
Nextcloud
Secret shape
{"username": "…", "password": "<app password>"}
Config it needs
base_url
Resolved by
config.connection_id, else node.connection_id

Configuration

1 field, 1 required. A dotted path is a nested object and name[] an array of objects — the editor renders the same tree.

FieldTypeRequiredDefaultConstraintsExample
share_id
The share id returned by nextcloud.create_share or nextcloud.list_shares.
stringYes———

Output

One shape.

result

FieldTypeExample
ok
True — Nextcloud accepted the change.
boolean—
share_id
The share that was removed.
string—
deleted
True — the share is gone.
boolean—
status
Nextcloud's OCS status word.
stringok
status_code
The OCS meta statuscode: 100 on v1, 200 on v2.
number—
message
The OCS meta message, when the server set one.
string—
total_items
Total matching items, when the endpoint reports it.
string—
items_per_page
Page size, when the endpoint reports it.
string—
{
  "deleted": false,
  "items_per_page": "",
  "message": "",
  "ok": false,
  "share_id": "",
  "status": "ok",
  "status_code": 0,
  "total_items": ""
}

See Delete Share run in a workflow.

In a technical demo we add the Nextcloud connection, drop the node on the canvas and let Workflow Health pre-flight it before the first real run.