Apps and access levels commands

These Adapty CLI commands manage your apps and their access levels: the subscription tiers your app checks at runtime.

Apps

Manage the apps in your Adapty account. For Dashboard-based configuration, see App settings.

adapty apps list

List all apps in your Adapty account.

adapty apps list

Accepts pagination flags.

adapty apps get

Get details for a specific app.

adapty apps get <app-id>
ArgumentDescription
app-idApp ID (UUID)

adapty apps create

Create a new app.

adapty apps create --title "My App" --platform ios --apple-bundle-id com.example.app
FlagRequiredDescription
--titleYesApp title
--platformYesPlatform: ios or android. Repeat for both: --platform ios --platform android
--apple-bundle-idRequired with --platform iosApple bundle ID
--google-bundle-idRequired with --platform androidGoogle bundle ID

adapty apps update

Update an existing app.

adapty apps update <app-id> --title "New Name"
ArgumentDescription
app-idApp ID (UUID)
FlagDescription
--titleNew app title
--apple-bundle-idNew Apple bundle ID
--google-bundle-idNew Google bundle ID

At least one flag is required. --platform cannot be changed after creation.

Access levels

adapty access-levels list

List all access levels for an app.

adapty access-levels list --app <app-id>
FlagRequiredDescription
--appYesApp ID (UUID)

Accepts pagination flags.

adapty access-levels get

Get details for a specific access level.

adapty access-levels get --app <app-id> <access-level-id>
ArgumentDescription
access-level-idAccess level ID (UUID)
FlagRequiredDescription
--appYesApp ID (UUID)

adapty access-levels create

Create a new access level.

adapty access-levels create --app <app-id> --sdk-id "pro" --title "Pro"
FlagRequiredDescription
--appYesApp ID (UUID)
--sdk-idYesIdentifier used in app code to check access (for example, "pro" or "premium")
--titleYesDisplay label for the Adapty dashboard

adapty access-levels update

Update an existing access level.

adapty access-levels update --app <app-id> <access-level-id> --title "Pro Access"
ArgumentDescription
access-level-idAccess level ID (UUID)
FlagRequiredDescription
--appYesApp ID (UUID)
--titleYesNew display label

--sdk-id cannot be changed after creation.

What’s next