Set the visibility (public or private) of a domain version

PUT {{baseUrl}}/domains/:owner/:domain/:version/settings/private?force=false

Request Params

KeyDatatypeRequiredDescription
forcebooleanTo change the visibility from public to private in case this domain is referenced from other public definitions, this parameter must be true. Otherwise, the request will be rejected with status code 424.

Request Body

{"private"=>false}

HEADERS

KeyDatatypeRequiredDescription
Content-Typestring

RESPONSES

status: OK

""