Rename or change tier
convertAtomically rename a roost's URL, change gallery listing, mark or unmark Promo, or bind a custom domain (Roost / Roost Audit after checkout grant custom_domain). Pass hatchId plus at least one of newPreferredSlug, galleryListed, promo, or customDomain. Do NOT call hatch again to rename or to change Promo — that creates a second site.
Optional promo (boolean). true lists this hatch on the public carousel even when its tier would hide it, if the hatch is active, has a public slug, and is not expired, and forces the Powered By chip on. A password still keeps it off the carousel. false unmarks Promo and returns the normal carousel and chip rules. Omit promo to leave the flag unchanged. promo alone is enough.
Roost and Roost Audit include 10 subscription Pins. convert with newTier: forever is allowed while those slots remain. After that, call checkout with grant publish (Pin, $4.99/yr). Do not use convert to collect payment.
Pins are hidden from the carousel by default; pass galleryListed: true to feature the site publicly. Paid Roost hatches stay off the carousel unless promo is true.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| promo | No | Optional Promo flag. `true` lists this hatch on the public carousel even when its tier would hide it, if the hatch is active, has a public slug, and is not expired, and forces the Powered By chip on. A password still keeps it off the carousel. `false` unmarks Promo and returns the normal carousel and chip rules. Omit to leave the flag unchanged. Pass `promo` alone; no rename is required. | |
| hatchId | No | Hatch id from the original hatch response. | |
| newTier | No | Roost / Roost Audit may pass `forever` while subscription Pins remain (10). After the allotment, use `checkout` (grant: publish) for a paid Pin. | |
| tenantId | No | Legacy alias for `hatchId`. | |
| customDomain | No | Customer-owned hostname. Roost / Roost Audit only, after checkout grant custom_domain (+$29/mo). Pass an empty string to clear. | |
| sessionToken | No | Optional paired session token from poll_pairing (when Authorization headers are unavailable). | |
| galleryListed | No | Opt in (`true`) or out (`false`) of the public Barnyard carousel. Pins require `true` to appear; free is listed unless `false`. Paid Roost hatches (`tier: workspace`) are never listed by this flag. Use `promo` to list a hatch its tier would hide. | |
| newPreferredSlug | No | New hostname label. The old slug is released atomically. |