v1
File Manager
File Manager

Update File Share

Changed on

Set the file's Anyone/restricted toggle + the explicit grant list.

put/api/v1/files/{file_id}/share

Request

  • Base URL
    https://api.jeevyfabrication.com (the document declares no server; this is the origin it was published from)
  • Auth
    none declared

Path parameters

file_id, integer required

files.id

Request body

ShareUpdateRequest required

Body for PUT .../share.

grants is the full desired explicit grant list (owner/manager rows excluded — those are computed, never sent by the client). The server replaces the existing grant rows wholesale.

is_restricted, boolean required
grants, ShareGrantInput[]
anyone_role, 'viewer' | 'editor'
acknowledge_self_change, boolean
apply_to_files, boolean

Response

Successful Response

object required

Changes