Skip to main content

claimFreeAppAccess

Self-service: the authenticated caller claims access to an app via its free, open-by-default tier. Requires authentication only (no org membership needed). ENTITLEMENT CHANGE: grants the free default tier as a 'system' grant and notifies the game API. Idempotent: returns the existing row if already granted, and never overrides a prior revoke. Errors if the app has no free default tier or is archived.

claimFreeAppAccess(
appId: BigInt!
): AppUserAccess!

Arguments

claimFreeAppAccess.appId ● BigInt! non-null scalar

Numeric id of the app to claim free access to.

Type

AppUserAccess object

A user's entitlement to a specific app: whether (and via which tier) they may access it. At most one row per (app, user).