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

Upload or folder-prefix path whose visibility setting is created or updated. Requires path administration. Upload or folder-prefix path whose visibility setting is created or updated. Requires path administration. Double-URL-encode the project-relative file path or folder prefix. Existing folders also accept omission of the trailing slash.

Body

application/json
visibility
enum<string>
required

Visibility setting to create or update. Requires path administration; public visibility follows the paid-project policy. project means project members; public means anyone; private means granted users only.

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