operations

Create or remove public link

Changed on

Creates a share URL for an object or removes an existing link when unlink=true.

post/operations/publiclink

Request

Headers

Prefer'respond-async'

Set to respond-async to run the call in the background. Rclone returns a 202 with a job ID right away, and job/status reports progress. This has the same effect as the _async param in rclone's docs, but _async alone returns a 200 instead of a 202.

Request body

_configobject

Config overrides for this call only.

_filterobject

Filter overrides for this call only.

_groupstring

Stats group for this call.

remotestring required

Path within fs to the object for which to create or remove a public link.

unlinkboolean

Set to true to remove an existing public link instead of creating one.

expirestring

Optional expiration time for the public link, formatted as supported by the backend.

Response

Public sharing URL returned by operations/publiclink.

urlstring uri required

Changes