revokeAppAccess
Revoke a user's access to an app by setting their app_user_access status to 'revoked', and notifies the game API so the user immediately loses runtime access in Buddy. Requires the 'manage_access_tiers' permission on the app; super admins bypass. The row is retained for audit (not deleted); REVERSIBLE via grantAppAccess.
revokeAppAccess(
appId: BigInt!
userId: BigInt!
idempotencyKey: String
): AppUserAccess!
Arguments
revokeAppAccess.appId ● BigInt! non-null scalar
Numeric id of the app to revoke access on.
revokeAppAccess.userId ● BigInt! non-null scalar
Numeric id of the user whose access should be revoked.
revokeAppAccess.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
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).