One of 38 things your AI can do in your Instroc account, in Go live
Unpublish an app
unpublish_
Makes changes Takes the app offline
Ask your AI
- Take my app down
- Unpublish my bakery site
- Put it offline
What it does
Takes a published Instroc app offline.
Fits requests like 'take my app down', 'unpublish my bakery site', 'put it offline'. The app's pages stop being served at its address within about a minute, as the address's routing cache expires, and its own server code, its API routes, is removed; pages_stopped and backend_stopped are true once Cloudflare confirms it and null when it could not be confirmed. Its database and files are kept. address_kept is true when the app holds a reserved Instroc address, and publish_app then brings it back at the same address; it is null when the address was only on the removed deployment or belongs to another app, which is left untouched (address_held_by_another_app). Custom domains return to pending and are verified again in the Instroc editor after the app is published again; a publish from a chat does not verify them. Unpublishing pauses the app's platform functions: scheduled tasks, incoming webhook functions, http calls from outside the Instroc editor, and database-trigger functions are refused and not billed until the app is published again, which resumes them; the data is kept. The owner's Run in the Instroc editor and the editor's preview still run them. scheduled_jobs_stopped, webhooks_stopped and other_functions_stopped are true once paused, false for an app unpublished before pausing existed that still has one of that kind turned on, and null when unknown. Unpublishing does not stop the app's data API, which still answers requests that carry the app's key (data_api_still_answers), and its outgoing data webhooks still fire on those writes. Returns status, was_live_at, pages_stopped, backend_stopped, scheduled_jobs_stopped, webhooks_stopped, other_functions_stopped, data_api_still_answers, data_kept, address_kept, address_held_by_another_app and custom_domains_need_reverify (null when unknown). An app already offline, confirmed by Cloudflare, answers status 'already_offline' and nothing changes; otherwise its teardown runs again. Refused while the app's database is being moved. Needs the admin role in the app's workspace.
This is the text your AI reads, word for word.
- Changes
- Yes. The app's pages stop being served. Its database and files are kept.
- Role needed
- Admin in the app's workspace
Inputs
project_idRequired- The app's project_id, as returned by list_my_apps.