v1

latestOpenAPI 3.1.0MIT2026-07-1799111346.8 KB

Create or remove public link

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

post/operations/publiclink

Query parameters

fsstring

Remote name or path hosting the object for which to manage a public link.

remotestring

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.

_groupstring

Assign the request to a custom stats group.

_asyncboolean

Run the command asynchronously. Returns a job id immediately.

Headers

Prefer'respond-async'

Set to "respond-async" with _async=true to receive HTTP 202 instead of 200.

Request body

fsstring

Remote name or path hosting the object for which to manage a public link.

remotestring

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.

_groupstring

Assign the request to a custom stats group.

_asyncboolean

Run the command asynchronously. Returns a job id immediately.

Response

Public sharing URL returned by operations/publiclink.

urlstring uri required