Skip to main content
PATCH
Update file visibility

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Headers

x-workspace-id
integer

Workspace id. If not provided, the user's selected workspace is used.

Path Parameters

fileId
integer
required

Body

application/json
visibility
enum<string>
required
Available options:
private,
workspace,
public

Response

200

Successful response