Skip to main content
PATCH
Update file confidential status

Authorizations

x-access-token
string
header
required

JWT token passed in x-access-token header

Path Parameters

fileId
string
required

The file ID to update

Body

application/json
confidential
boolean
required

Whether the file should be marked as confidential (is_private)

Example:

true

Response

File confidential status updated

success
boolean
Example:

true

message
string
Example:

"File marked as confidential"

is_private
boolean

The updated confidential status of the file

Example:

true