Skip to main content
PUT
Set path visibility

Authorizations

Authorization
string
header
required

Use a JWT bearer token or a Veryfront API key in the Authorization header.

Path Parameters

project_reference
string
required

Project slug, UUID, or domain that identifies the project.

path
string
required

Double-URL-encoded project-relative file path or folder prefix. An existing folder also accepts its path without the trailing slash.

Body

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

Response

Visibility set

path
string
required

Project-relative storage path, without a leading slash.

visibility
enum<string>
required

Effective access policy for the upload or folder.

Available options:
project,
public,
private