Skip to main content

grantMyAppAccess

Org dashboard shortcut: the authenticated caller grants themselves access to an app using its default active tier. Requires that the caller is an active member of the app's owning org OR holds the 'manage_access_tiers' permission on the app. ENTITLEMENT CHANGE: upserts an active grant and notifies the game API. Errors if the app has no active tier, or the caller is neither a member nor a manager.

grantMyAppAccess(
appId: BigInt!
): AppUserAccess!

Arguments

grantMyAppAccess.appId ● BigInt! non-null scalar

Numeric id of the app to grant the caller 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).