Set App Status
POST /apps/{app_id}/status
PREVIEW. This endpoint is deployed but gated: it returns 404 unless the hosted app platform is enabled for your organization. It is published here so the contract describes the whole surface, not so it can be called today.
Move an app through its lifecycle: draft → published → archived.
suspended is the platform’s kill switch and is NOT settable here — a builder
suspending and un-suspending their own app would defeat it entirely.
Authorizations
Parameters
Path Parameters
Header Parameters
Request Body required
Mirrors the portal’s setAppStatus(builderOrgId, appId, status).
object
draft, published, suspended or archived. active is accepted as the legacy spelling of published.
Responses
200
Successful Response
object
One builder-owned app. Mirrors AppDto.
object
Https-only origins a browser app token may be presented from.
Lifecycle state: draft, published, suspended or archived. active is accepted on write as a legacy spelling of published.
422
Validation Error