Skip to main content
POST
Set a Ravi Pages site default visibility, or one route with --route

Body

application/json
args
string[]
required

[project] ; project defaults to Ravi Console scope

console
string

Console base URL

execute
boolean

Required to switch visibility to public; other visibilities apply immediately

project
string

Console project id or slug; overrides saved Console scope

route
string

Change this route's visibility only, without uploading content. Omit to set site defaultVisibility

Response

Success — body conforms to the @Returns schema.

consoleUrl
string
required
edgeManifestRepair
required
projectRef
string
required
site
object
required
siteRef
string
required
success
boolean
required
url
string | null
required
defaultVisibility
string | null
effectiveVisibility
string
path
string
route
object
target
enum<string>
Available options:
site,
route