Skip to main content

gameModelSetPolicy

Set the app's game-model runtime policy: who may create sessions (admin | member | anyone) and the default participant role. Requires app-admin ('manage_apps').

gameModelSetPolicy(
input: SetGameModelPolicyInput!
): GmAppPolicy!

Arguments

gameModelSetPolicy.input ● SetGameModelPolicyInput! non-null input

The app plus the session creation policy and/or default participant role to set.

Type

GmAppPolicy object

The app's game-model runtime policy.