{
  "topic": "rename",
  "section": {
    "n": 5,
    "name": "Manage"
  },
  "title": "Change the web address",
  "covers": "Moving the app to a new {name}.embarko.app address",
  "summary": "Changes the app's address. The old address stops working and does not redirect. The old name stays the app's: nobody else can take it, and a deploy under it reaches the renamed app. Custom domains keep working. Changing only the display name is a different, harmless call.",
  "done_when": "The new address opens the app, and you use the new name from now on.",
  "available": true,
  "who": {
    "connector": "app_danger_zone · rename_app",
    "api": "POST https://ship.embarko.ai/api/apps/{app-name}/slug-change",
    "dashboard": "https://embarko.ai/app",
    "needs_human": "Confirm first: links already shared will stop working."
  },
  "steps": {
    "connector": [
      "Confirm with the person. Call app_danger_zone { action: \"rename_app\", appName, newName }. If terminal is false, the move takes a few minutes: read the reply's links.status (a GET with the same key, through call_any_read_api_of_embarko) until state is succeeded. The old address keeps working until then, and stops after.",
      "Use the new name in every call from now on."
    ],
    "http_api": [
      "Confirm with the person. POST https://ship.embarko.ai/api/apps/{app-name}/slug-change with {\"newName\": \"...\"} and the token.",
      "A live app replies 202 with projectId: poll GET https://ship.embarko.ai/api/slug-changes/{project-id} until state is succeeded or failed. It takes minutes. From then on use the name in the reply's deployWith.",
      "Display name only: PATCH https://ship.embarko.ai/api/apps/{app-name} with {\"name\": \"My App\"}. The address does not change."
    ]
  },
  "errors": [
    {
      "code": "app_name_taken / app_name_reserved",
      "status": 409,
      "retry": "No",
      "do": "Pick another name."
    },
    {
      "code": "deploy_in_progress / rename_in_progress",
      "status": 409,
      "retry": "Later",
      "do": "Wait for it to finish."
    },
    {
      "code": "slug_change_cooldown",
      "status": 429,
      "retry": "Later",
      "do": "One change per app per week; retryAfterMs says when."
    },
    {
      "code": "app_state_unknown",
      "status": 503,
      "retry": "Once",
      "do": "Retry once after 2 seconds."
    },
    {
      "code": "rename_failed",
      "status": 502,
      "retry": "Once",
      "do": "Nothing changed. Try once more."
    },
    {
      "code": "rename_desynced",
      "status": 500,
      "retry": "No",
      "do": "Needs the Embarko team: report it."
    },
    {
      "code": "permission_denied",
      "status": 403,
      "retry": "No",
      "do": "The 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."
    }
  ],
  "say_to_user": {
    "confirm": "Your app will move to {new}.embarko.app. The old link stops working right away with no redirect. Your custom domain and Showcase listing move with it. You can change the address only once a week. Go ahead?",
    "done": "Done: your app is now at {link}."
  },
  "prerequisites": {
    "read_first": "https://embarko.ai/docs/prerequisites",
    "user": "The person is usually not a developer. They want to know if the app is live, not how.",
    "talk": "Reply in 1-3 short plain sentences: what happened, and what the person needs to do only if something is needed. Do not show commands, API names, tokens, headers or logs, or describe the steps you took, unless the person asks for technical details. If the person is clearly a developer (uses technical terms, asks what you ran), talk to them that way for the rest of the conversation. Never show a token. Never invent a link, name or code: use only what Embarko's replies, this guide or the person give you.",
    "route": "Connector first if it is in your tools, then the HTTP API, then the upload page as a last resort.",
    "domains": "ship.embarko.ai (API), embarko.ai (website), {app-name}.embarko.app (apps): all Embarko.",
    "requires": [
      {
        "topic": "claim",
        "why": "Over HTTP the app must be claimed first; connector apps already are",
        "url": "https://embarko.ai/docs/claim",
        "only": "over HTTP only"
      }
    ]
  },
  "next": "Ask first, then rename.",
  "related": [
    {
      "topic": "showcase",
      "why": "A Showcase listing follows the rename",
      "url": "https://embarko.ai/docs/showcase"
    },
    {
      "topic": "custom-domain",
      "why": "A custom domain is unaffected",
      "url": "https://embarko.ai/docs/custom-domain"
    }
  ],
  "links": {
    "rename": "https://ship.embarko.ai/api/apps/{app-name}/slug-change",
    "progress": "https://ship.embarko.ai/api/slug-changes/{project-id}"
  },
  "url": "https://embarko.ai/docs/rename",
  "contents": "https://embarko.ai/docs",
  "version": "2026-11-24"
}