Show a site on Google, or hide it
POST
Writes search.visible in the site's syndai.build.json and republishes: true shows a members-only site on Google, false adds a site-wide noindex and drops its sitemap. 202 committed, 200 already_applied when the site already is that way. Owner or admin. Waits for runs like a text edit: 409 RUN_IN_FLIGHT (run_id), else TEXT_EDIT_REFUSED naming the reason in refusal.
CustomerApiKeyheader
AuthorizationBearer <API Key>Customer API key sent as a bearer token
customer_id*stringFormat
uuidpublication_id*stringFormat
uuidapplication/json- body
visible*booleanRequest accepted, processing continues off-line
application/json- response
commit_sha*stringdeployment_id?string|nullstatus*stringvisible*booleancurl -X POST 'https://api.syndai.ai/api/v1/external/coding/customers/497f6eca-6276-4993-bfeb-53cbbbba6f08/apps/497f6eca-6276-4993-bfeb-53cbbbba6f08/visibility' \ -H 'Content-Type: application/json' \ -d '{ "visible": true}'Example Response
{ "commit_sha": "string", "deployment_id": "string", "status": "string", "visible": true}