assets

Change when a folder link stops working

Set a working folder link's expiry, or send expires_in_days: null to remove its deadline. Needs the same authority as sharing — publishing every live file in the folder as it stands now, because prolonging a publication is publishing.

patch/v1/assets/folders/{folder_id}/share-links/{link_id}

Request

  • Base URL: https://api.patricia.app (the document declares no server; this is the origin it was published from)
  • URL: https://api.patricia.app/v1/assets/folders/{folder_id}/share-links/{link_id}
  • Auth: HTTP bearer

Path parameters

folder_idstring uuid required

The folder's id.

link_idstring uuid required

The share link's id.

Headers

X-Tenant-Idstring nullable

Request body

expires_in_daysinteger nullable required

How many days from now the link should keep working. Send null to take its end date away, so it works until somebody turns it off.

Response

Successful Response

idstring uuid required
created_atstring date-time required
revoked_atstring date-time nullable
expires_atstring date-time nullable

Changes

No recorded changes to this operation across all 1 revision of this API.