Embarko is inBeta

Embarko is the cloud for small apps built by AI. The AI builds the app; Embarko gets it online, keeps it running, and helps the AI take the next useful step.

Agents start with the Markdown quickstart. Every page is also available as Markdown and JSON.

Delete an app

On this page: With the connector, Over HTTP, Errors, What to tell the person

Plain words unless the person is a developer. Never invent a link, name or code. Rules Needs first: claim (over HTTP only).

When the person asks you to remove an app, move it to the Trash instead (see trash): that can be undone for 30 days. Delete only when they ask for it to be gone forever. Deletes the app with its deploys, env vars, stored files, domains and Showcase listing. Its name becomes free for anyone to take. There is no backup and no undo. If it had a custom domain, the person can remove that DNS record afterwards.

Connector: app_danger_zone · delete_app (with confirmAppName)

Done when: The delete call answered 204. A status check for that name then answers not_deployed, or 404 not_found when you send a token: either means it is gone.

With the connector

  1. Confirm with the person by name. Call app_danger_zone { action: "delete_app", appName, confirmAppName } with confirmAppName equal to appName.

Over HTTP

  1. Confirm with the person. DELETE https://ship.embarko.ai/api/apps/{app-name} with {"confirmAppName": "{app-name}"} and the token. 204 means deleted.

Errors

CodeStatusRetryWhat to do
confirmation_required400NoconfirmAppName missing or different. Nothing was deleted.
storage_cleanup_failed502YesIts stored files could not be removed, so nothing was deleted. Retry after a minute.
permission_denied403NoThe person who made this token is not allowed to do this. The reply names the permission and their access to the app (or their role). Nothing changed. Tell the person (say_to_user.no_permission); do not try another way round it.

What to tell the person

  • confirm: "This deletes {app} for good: its deploys, settings, stored files, custom domains and Showcase listing. There is no undo, and the name becomes free for anyone. Delete it?"
  • done: "{app} is deleted."

Next: Only on an explicit yes.

Related: trash · rollback


Guide home · JSON: add .json