Skip to main content
PUT
/
projects
/
{project_reference}
/
uploads
/
visibility
/
{path}
Set Path Visibility
curl --request PUT \
  --url https://api.veryfront.com/projects/{project_reference}/uploads/visibility/{path} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "visibility": "project"
}
'
{
  "path": "<string>",
  "visibility": "project"
}

Authorizations

Authorization
string
header
required

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

Path Parameters

project_reference
string
required
path
string
required

Encoded path.

Body

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

Response

Visibility set

path
string
required
visibility
enum<string>
required
Available options:
project,
public,
private