Skip to main content

updateApp

Update mutable fields of an existing app (name, description, visibility, status, metadata, wildernessWritesOpen, claimOwnerKeys, replayLoggingEnabled, replayLoggingRecordsMedia, replayLoggingRecordsVoice, replayLoggingRecordsVideo, minPlayerAge); only fields present in the input are changed. Turning replayLoggingEnabled on is refused with INPUT_LOG_FUNDS_NEEDED unless the org's wallet can spend at least the projected cost of keeping one retention period of the app's recent traffic (extensions.requiredMicrousd and spendableMicrousd say how much), or the org is billing-exempt; recordings already kept go on billing after it is turned off, until they age out. Turning it off is refused with SAFETY_LOG_REQUIRED while the app admits players under 18. Requires the 'manage_apps' permission on the app (resolved via its org); super admins bypass. Use this to publish (status=LIVE), change visibility, or restore an archived app (status back to DRAFT/LIVE). Throws if the app id does not exist.

updateApp(
appId: BigInt!
input: UpdateAppInput!
): App!

Arguments​

updateApp.appId ● BigInt! non-null scalar​

Numeric id of the app to update.

updateApp.input ● UpdateAppInput! non-null input​

Fields to change; omitted fields are left unchanged.

Type​

App object​

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