unshare_service
Stops a deployed app from answering at its hosted URL by removing its share. Idempotent removal returns a receipt indicating whether the share was removed.
Instructions
Use when: an app should stop being reachable at its hosted URL.
The URL stops answering on the next request (the tunnel re-reads the row
per stream — there is no cache to wait out). Idempotent: removing a
share that does not exist is a success returning ``removed: false``,
never an error. The response is the removal receipt
(``{service_name, removed}``), not a share view — read ``share_service``
or ``get_service`` for the state of a share that still exists.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Name (or row id) of an existing deployed app — only kind 'service' can be exposed: ``share_service``/``add_domain`` refuse a model or database with 422 ``*.kind_unsupported``, while the remove tools just find nothing to undo. | |
| idempotency_key | No | Caller-chosen key: a retry with the same key replays the first result instead of acting twice. Omit and a fresh key is minted per call, so each call acts. |