Skip to main content

CreateAccessTierInput

Input for creating a new app access tier.

input CreateAccessTierInput {
appId: BigInt!
name: String!
tierOrder: Int
isFree: Boolean
isDefault: Boolean
description: String
permissionKeys: [String!]
}

Fields

CreateAccessTierInput.appId ● BigInt! non-null scalar

Numeric id of the app the tier belongs to. The caller must hold manage_access_tiers on this app.

CreateAccessTierInput.name ● String! non-null scalar

Tier display name (max 128 chars).

CreateAccessTierInput.tierOrder ● Int scalar

Optional sort order (ascending). Defaults to 0.

CreateAccessTierInput.isFree ● Boolean scalar

Optional; whether the tier is free. Defaults to false.

CreateAccessTierInput.isDefault ● Boolean scalar

Optional; whether this is the app's default tier. Defaults to false.

CreateAccessTierInput.description ● String scalar

Optional marketing description of the tier.

CreateAccessTierInput.permissionKeys ● [String!] list scalar

Optional runtime permission keys to grant on this tier (must be valid runtimePermissions). Defaults to ["access"] when omitted.

Member Of

createAccessTier mutation