Skip to main content

archiveApp

Soft-delete an app by setting status=ARCHIVED. The row is retained (NOT hard-deleted) and is excluded from the public marketplace. REVERSIBLE: call updateApp to set status back to DRAFT or LIVE. Requires the 'manage_apps' permission on the app; super admins bypass. Throws if the app id does not exist.

archiveApp(
appId: BigInt!
idempotencyKey: String
): App!

Arguments

archiveApp.appId ● BigInt! non-null scalar

Numeric id of the app to archive (soft delete).

archiveApp.idempotencyKey ● String scalar

Optional idempotency key. Recommended for retries: replaying with the same key and identical arguments returns the first result instead of re-applying; the same key with different arguments returns IDEMPOTENCY_CONFLICT. Keys expire after 24h.

Type

App object

A publishable application (game/experience) owned by an organization. Its discoverability is controlled by visibility and its lifecycle by status.