# asc: web session commands

> asc web commands that use the Team owner's Apple sign-in held in AirBuild: app creation, agreements, privacy labels, push keys, App Groups, review threads and more.

Source: https://air.build/docs/cli/asc-web/

`asc web` covers the parts of App Store Connect and the Developer Portal that Apple's public API leaves out, such as creating an app record, accepting agreements, privacy labels and APNs keys. It runs on cloud Teams and Mac Teams. Picking an Apple team (`--auth`), output, pagination, `--confirm` and exit codes work as described on the [asc](https://air.build/docs/cli/asc/) page.

```bash
asc web <subcommand> [flags]
```

In the tables below, **Main flags** leaves out the flags almost every command has: `--output` and `--pretty` (see [Output](https://air.build/docs/cli/asc/#output)), `--limit`, `--next` and `--paginate` on list commands (see [Pagination](https://air.build/docs/cli/asc/#pagination)), and the `--…-fields` flags that pick which attributes Apple returns. Run `asc <family> <subcommand> --help` for every flag, its values and examples. Where a subcommand has subcommands of its own, they are listed instead.

## The web session

These commands use the Team owner's Apple sign-in, which AirBuild holds once the owner has [connected their Apple Developer account](https://air.build/docs/app-store/connect-apple-developer-account/). `asc` never signs in by itself and never asks an Agent for an Apple password or a verification code.

- `asc web auth status` shows the session for the selected Apple team: its App Store Connect provider and its Developer Portal team. Add `--auth NAME` to check another Apple team from `asc auth list`.
- If a `web` command says there is no web session, or the session has expired, ask the Team owner to connect the Apple account again in AirBuild, then rerun the command.
- Commands that take `--developer-team` need it only when the owner's Apple Account belongs to several Developer Portal teams and none matches the selected Apple team. Pass a Developer Portal team ID or its exact name.

> [!WARNING]
> Some `web` commands act for the Apple team's Account Holder or cannot be undone. Run them only when you were asked to:
>
> - `asc web agreements accept --agreement-id ID --confirm` accepts a legal agreement on the Account Holder's behalf.
> - `asc web apps delete`, `web service-ids delete`, `web website-push-ids delete` and `web app-groups delete` remove resources.
> - `web app-groups assign`, `web icloud-containers assign` and `web bundle-ids capabilities enable|disable` change the App ID, which invalidates its provisioning profiles. Build again afterwards so the profile is reissued, and check the signed entitlements.

## Subcommands

Every `web` subcommand has subcommands of its own. Each is described with all its flags and an example under [Reference](https://air.build/docs/cli/asc-web/#reference).

| Subcommand | What it does | Main flags |
| --- | --- | --- |
| [`auth`](https://air.build/docs/cli/asc-web/#web-auth) | Manage Apple web sessions. | subcommands: `status` |
| [`agreements`](https://air.build/docs/cli/asc-web/#web-agreements) | Check, download, and accept Apple Developer Program agreements. | subcommands: `status`, `download`, `accept` |
| [`business`](https://air.build/docs/cli/asc-web/#web-business) | Manage App Store Connect Business agreements. | subcommands: `agreements` |
| [`finance`](https://air.build/docs/cli/asc-web/#web-finance) | Download finance reports through an Apple web session. | subcommands: `transaction-tax` |
| [`iap`](https://air.build/docs/cli/asc-web/#web-iap) | Manage In-App Purchase tax categories via a web session. | subcommands: `tax-category` |
| [`api-keys`](https://air.build/docs/cli/asc-web/#web-api-keys) | Manage App Store Connect API keys via web sessions. | subcommands: `list`, `view` |
| [`sandbox`](https://air.build/docs/cli/asc-web/#web-sandbox) | Manage sandbox testers via web sessions. | subcommands: `create`, `delete` |
| [`apps`](https://air.build/docs/cli/asc-web-apps/) | App management via web sessions; canonical path for app creation. | subcommands: `create`, `delete`, `availability`, `compatibility`, `distribution`, `history`, `transfer`, `declarations`, `medical-device`, `tax-category`, `compliance` |
| [`removed-apps`](https://air.build/docs/cli/asc-web/#web-removed-apps) | Inspect removed apps via web sessions. | subcommands: `list`, `restore` |
| [`app-bundles`](https://air.build/docs/cli/asc-web/#web-app-bundles) | Inspect and edit App Store app bundles via web sessions. | subcommands: `list`, `view`, `create`, `apps`, `submit`, `remove-from-review` |
| [`bundle-ids`](https://air.build/docs/cli/asc-web/#web-bundle-ids) | Manage Bundle IDs via web-session endpoints. | subcommands: `list`, `view`, `capabilities` |
| [`service-ids`](https://air.build/docs/cli/asc-web/#web-service-ids) | Manage Services IDs via Developer Portal web sessions. | subcommands: `list`, `view`, `create`, `rename`, `delete`, `domains` |
| [`sign-in-keys`](https://air.build/docs/cli/asc-web/#web-sign-in-keys) | Create and download Sign in with Apple keys through Developer Portal. | subcommands: `list`, `view`, `create`, `download` |
| [`website-push-ids`](https://air.build/docs/cli/asc-web/#web-website-push-ids) | Manage Website Push IDs via Developer Portal web sessions. | subcommands: `list`, `view`, `create`, `delete` |
| [`icloud-containers`](https://air.build/docs/cli/asc-web/#web-icloud-containers) | List and create iCloud containers via a Developer Portal web session. | subcommands: `list`, `create`, `assign` |
| [`app-groups`](https://air.build/docs/cli/asc-web/#web-app-groups) | Manage App Groups via Developer Portal web sessions. | subcommands: `list`, `create`, `assign`, `unassign`, `set`, `delete` |
| [`privacy`](https://air.build/docs/cli/asc-web/#web-privacy) | App privacy declaration workflows. | subcommands: `catalog`, `pull`, `plan`, `apply`, `publish` |
| [`review`](https://air.build/docs/cli/asc-web-review/) | App-centric review and rejection inspection. | subcommands: `list`, `show`, `threads`, `reply`, `drafts`, `subscriptions`, `iaps`, `sandbox-entitlements` |
| [`subscriptions`](https://air.build/docs/cli/asc-web/#web-subscriptions) | Manage subscriptions via web sessions. | subcommands: `availability`, `pricing` |
| [`analytics`](https://air.build/docs/cli/asc-web-analytics/) | Recreate App Store Connect analytics web dashboards. | subcommands: `overview`, `sources`, `product-pages`, `in-app-events`, `app-clips`, `campaigns`, `sales`, `subscriptions`, `offers`, `benchmarks`, `metrics`, `retention`, `cohorts` |
| [`xcode-cloud`](https://air.build/docs/cli/asc-web-xcode-cloud/) | Xcode Cloud usage and workflow management. | subcommands: `usage`, `products`, `workflows`, `env-vars`, `settings`, `scm` |
| [`push-keys`](https://air.build/docs/cli/asc-web/#web-push-keys) | Create and download APNs push notification keys through Developer Portal. | subcommands: `list`, `create`, `download` |

## Create an app record

`asc web apps create` is how an app record is created; `asc apps` cannot do it. When the Apple team has App Store Connect API access it registers a missing bundle ID first; otherwise create it with `asc bundle-ids create` (see [asc bundle-ids](https://air.build/docs/cli/asc-bundle-ids/)).

| Flag | What it does | Default |
| --- | --- | --- |
| `--name` | App name as shown on the App Store. Required. | — |
| `--bundle-id` | The bundle ID, such as `com.example.app`. Required. It must already exist unless the Apple team has App Store Connect API access, in which case a missing one is registered first. | — |
| `--sku` | Your own unique ID for the app. Users don't see it. Required. | — |
| `--platform` | Platform of the first version. One of `IOS`, `MAC_OS`, `TV_OS`, `UNIVERSAL`. | `IOS` |
| `--primary-locale` | Primary language of the listing. | `en-US` |
| `--version` | Initial version string. | `1.0` |
| `--company-name` | Company name, optional. | — |
| `--auto-rename` | If the name is taken, retry with a unique suffix. One of `true`, `false`. | `true` |
| `--if-exists` | What to do when the app already exists. One of `fail`, `skip`. | `fail` |
| `--access` | App access for users after creation. One of `full`, `limited`. | — |
| `--user` | Users given Limited Access. Needs `--access limited`. Give a user ID; repeat the flag for more users. | — |

## App privacy labels

`asc web privacy` edits the app's data usage declarations as a JSON file:

1. `asc web privacy catalog` lists the category, purpose and data protection values you can use in the file.
2. `asc web privacy pull --app APP_ID --out privacy.json` saves the current declarations.
3. Edit the file, then run `asc web privacy plan --app APP_ID --file privacy.json` to see what would change.
4. `asc web privacy apply --app APP_ID --file privacy.json` makes the changes. Entries that are missing from the file are only deleted with `--allow-deletes --confirm`.
5. `asc web privacy publish --app APP_ID --confirm` publishes the declarations. `apply` does not publish them.

## APNs push keys

`asc web push-keys` creates and downloads APNs authentication keys.

| Subcommand | What it does | Main flags |
| --- | --- | --- |
| `list` | List the Apple team's APNs keys and whether each `.p8` can still be downloaded. | `--developer-team` |
| `create` | Create an APNs key and save its `.p8`. | `--name`, `--output-dir`, `--confirm`, `--developer-team` |
| `download` | Download an existing key's `.p8`. | `--key-id`, `--output-dir`, `--confirm`, `--developer-team` |

One APNs key sends pushes to every app of the Apple team, in sandbox and production, and an Apple team holds at most two. Run `list` first and reuse an existing key when its `.p8` is available. Apple allows a key's `.p8` to be downloaded only once. `asc` writes it to `--output-dir` with owner-only permissions and never overwrites a file. Keep that file out of the repository and out of logs. A push provider needs the Key ID, the Team ID (from `asc auth list`) and the `.p8`.

## Agreements

`asc web agreements status` lists the Apple Developer Program agreements and whether any wait for acceptance. When Apple refuses an Apple team until an agreement is accepted (exit code 3, see [asc](https://air.build/docs/cli/asc/)), this shows which one. `download --agreement-id ID --out FILE` saves the agreement. `accept` is an Account Holder action, see the warning above. `asc web business agreements` covers the App Store Connect business agreements.

## Reference

Every `asc web` command, grouped by subcommand. The flag tables leave out `--output` and `--pretty` (see [Output](https://air.build/docs/cli/asc/#output)) and, where a command has them, `--limit`, `--next` and `--paginate` (see [Pagination](https://air.build/docs/cli/asc/#pagination)). Commands with `--developer-team` need it only in the case described under [The web session](https://air.build/docs/cli/asc-web/#the-web-session): a Developer Portal team ID or the team's exact name.

Most commands that change something read the result back from Apple before they report success. When Apple's answer leaves the outcome unclear, they say so and exit non-zero instead of retrying; check the current state (usually with the matching `list` or `view`) before running them again.

## web auth

The Apple web session that every `asc web` command uses.

### web auth status

Shows the web session for the selected Apple team: its App Store Connect provider and its Developer Portal team. `asc` never signs in itself; the session belongs to the Team owner. Pick another Apple team with `--auth NAME` (see `asc auth list`).

No flags besides `--auth`, `--output` and `--pretty`.

```sh
asc web auth status --output table
```

## web agreements

Apple Developer Program agreements, such as the Apple Developer Program License Agreement. Apple's public API has no way to read or accept them.

### web agreements status

Shows the agreement banner App Store Connect shows, the Apple team's agreement history and any outstanding agreement notices, including updates not yet in the history. `pending` is true when App Store Connect shows an agreement banner, an agreement was accepted before its current effective date, or the Developer Portal reports an outstanding agreement. `pendingAgreementIds` lists the IDs found pending. A banner alone does not name an agreement, and `pending` alone is no reason to accept an agreement that is already accepted again. Each row's `downloadUrl` is where Apple serves the agreement.

| Flag | What it does | Default |
| --- | --- | --- |
| `--developer-team` | Developer Portal team. | the selected Apple team |

```sh
asc web agreements status
```

### web agreements download

Saves an agreement, usually a PDF, so it can be read before it is accepted. The agreement must appear in the Developer Portal history with a download URL; an ID that only appears in a notice may need to be reviewed in the Apple Developer account. The file is written in full or not at all, with owner-only permissions, and its contents and download URL are never printed.

| Flag | What it does | Default |
| --- | --- | --- |
| `--agreement-id` | Agreement ID from `web agreements status`. Required. | — |
| `--out` | File to write. Required. | — |
| `--overwrite` | Replace an existing file at `--out`. | off |
| `--developer-team` | Developer Portal team. | the selected Apple team |

```sh
asc web agreements download --agreement-id "AGREEMENT_ID" --out ./agreement.pdf
```

### web agreements accept

Accepts one or more agreements for the Apple team. This is a legal act on the Account Holder's behalf, and Apple allows only the Account Holder's session to do it; other roles get an Apple error. Every agreement must be named. Afterwards the command reads the agreement history again and fails if any requested agreement is still pending or missing.

| Flag | What it does | Default |
| --- | --- | --- |
| `--agreement-id` | Agreement ID from `web agreements status`. Repeat it to accept several in one request. Required. | — |
| `--confirm` | Confirm accepting on the Account Holder's behalf. Required. | off |
| `--developer-team` | Developer Portal team. | the selected Apple team |

```sh
asc web agreements accept --agreement-id "AGREEMENT_ID" --confirm
```

## web business

App Store Connect Business agreements, such as the Paid Applications agreement.

### web business agreements list

Lists the provider's Business agreements. An agreement can be in effect while an updated version waits to be accepted: `availableNewContractConfigId` identifies that update, `configId` and `configVersion` the current agreement. JSON keeps Apple's complete response.

No flags besides `--output` and `--pretty`.

```sh
asc web business agreements list --output json
```

### web business agreements accept

Accepts one updated Business agreement. It binds the Apple team, only the Account Holder can accept, and `--confirm` also gives the Family Sharing consent that App Store Connect's Business form asks for. Read the updated terms in App Store Connect Business first. The command uses the team's legal entity and the form's first available language (else `en-US`), submits once, and then checks that the agreement is current and in effect with no newer one pending. If the result is unknown, run `web business agreements list` before trying again. When Apple asks for a fresh two-factor sign-in, the Team owner signs in again in AirBuild.

| Flag | What it does | Default |
| --- | --- | --- |
| `--contract-config-id` | The `availableNewContractConfigId` from `web business agreements list`. Required. | — |
| `--confirm` | Confirm agreeing to the terms and the Family Sharing consent. Required. | off |

```sh
asc web business agreements accept --contract-config-id CONFIG_ID --confirm
```

## web finance

Finance reports that are only on the App Store Connect finance web page.

### web finance transaction-tax download

Generates the Transaction Tax Report for a finance month and saves the ZIP archive. The month must offer the Transaction Tax Report in App Store Connect. The file must not exist yet; it is checked to be a ZIP and saved with owner-only permissions. Only a receipt of the saved file is printed, never the report's contents. A failed generation or download is not retried, and a timeout after generation leaves Apple's job in an unknown state.

| Flag | What it does | Default |
| --- | --- | --- |
| `--date` | Finance period, `YYYY-MM`. Required. | — |
| `--output-path` | Where to save the ZIP. Required. | — |

```sh
asc web finance transaction-tax download --date 2026-07 --output-path ./transaction-tax-2026-07.zip
```

## web iap

The tax category of an In-App Purchase. Apple's public API does not have it. An In-App Purchase with no category of its own uses its app's tax category; `asc` reports that it inherits, without guessing the inherited value.

### web iap tax-category list

Lists the In-App Purchase tax categories and conditions Apple offers. Their IDs are what `set` takes.

No flags besides `--output` and `--pretty`.

```sh
asc web iap tax-category list --output table
```

### web iap tax-category view

Shows the tax category and conditions set on one In-App Purchase. When none is set, table and Markdown output say it is inherited from the app; JSON keeps Apple's response as it is.

| Flag | What it does | Default |
| --- | --- | --- |
| `--iap` | In-App Purchase ID. Required. | — |

```sh
asc web iap tax-category view --iap IAP_ID
```

### web iap tax-category set

Sets an In-App Purchase's tax category and its complete set of conditions. The category and conditions are checked against the catalog first. Leaving out `--condition` clears all conditions.

| Flag | What it does | Default |
| --- | --- | --- |
| `--iap` | In-App Purchase ID. Required. | — |
| `--category` | Tax category ID from `web iap tax-category list`. Required. | — |
| `--condition` | Condition ID; repeatable. Leave out to clear the conditions. | none |
| `--confirm` | Confirm the change. Required. | off |

```sh
asc web iap tax-category set --iap IAP_ID --category CATEGORY_ID --condition CONDITION_ID --confirm
```

### web iap tax-category reset

Removes the In-App Purchase's own tax category so it inherits its app's again. When none is set, nothing is changed.

| Flag | What it does | Default |
| --- | --- | --- |
| `--iap` | In-App Purchase ID. Required. | — |
| `--confirm` | Confirm removing the category. Required. | off |

```sh
asc web iap tax-category reset --iap IAP_ID --confirm
```

## web api-keys

Reads the App Store Connect API keys of the Apple team. Creating and revoking keys is not available here. Key material is never printed, and the creation date is not shown.

### web api-keys list

Lists the team and individual API keys the session can see: key ID, name, kind, roles and whether it is active. It always returns the complete list. Individual keys may show empty roles here; App Store Connect (Users and Access › Integrations) shows them.

No flags besides `--output` and `--pretty`.

```sh
asc web api-keys list --output json
```

### web api-keys view

Shows one team API key: key ID, name, issuer ID, roles and whether it is active. Individual keys are listed by `web api-keys list` but cannot be read with this command.

| Flag | What it does | Default |
| --- | --- | --- |
| `--key-id` | API key ID. Required. | — |

```sh
asc web api-keys view --key-id KEY_ID
```

## web sandbox

Creates and deletes sandbox testers, which Apple's public API cannot do. To list and edit them, use `asc sandbox` (see [asc: builds and TestFlight](https://air.build/docs/cli/asc-builds/)).

### web sandbox create

Creates a sandbox tester. Apple checks the name and email, then the password, then creates the tester. Apple may still ask for the email to be verified before the tester can be used.

| Flag | What it does | Default |
| --- | --- | --- |
| `--first-name` | First name. Required. | — |
| `--last-name` | Last name. Required. | — |
| `--email` | Email address. Required. | — |
| `--password` | Password. Required. `@env:NAME` keeps it out of the command line (see [asc](https://air.build/docs/cli/asc/#values-from-the-environment-or-a-file)). | — |
| `--territory` | Three-letter storefront code, e.g. `USA`. Required. | — |

```sh
asc web sandbox create --first-name "Jane" --last-name "Tester" --email "jane+sandbox@example.com" --password @env:SANDBOX_PASSWORD --territory "USA"
```

### web sandbox delete

Deletes sandbox testers. It refuses any account marked as a family member, and fails before deleting anything when an ID is missing or listed twice, or when Apple's list is incomplete. Afterwards it checks that every ID is gone. A network error during deletion is an unknown outcome: list the testers before trying again.

| Flag | What it does | Default |
| --- | --- | --- |
| `--id` | Sandbox tester account IDs, comma-separated. Required. | — |
| `--confirm` | Confirm the deletion. Required. | off |

```sh
asc web sandbox delete --id "SANDBOX_ACCOUNT_ID" --confirm
```

## web apps

App records and the app settings Apple's public API leaves out. `web apps create` is how an app record is created.

Every `web apps` command, with its flags and examples, is on [asc web: apps](https://air.build/docs/cli/asc-web-apps/).

## web removed-apps

Apps in App Store Connect's Removed Apps view.

### web removed-apps list

Lists removed apps.

| Flag | What it does | Default |
| --- | --- | --- |
| `--limit` | Results per page, 1 to 200. | `48` |

```sh
asc web removed-apps list --paginate --output table
```

### web removed-apps restore

Restores a removed app and sets who can access it.

| Flag | What it does | Default |
| --- | --- | --- |
| `--app` | App ID. Required. | — |
| `--access` | `limited` or `full`. Required. | — |
| `--confirm` | Confirm restoring the app. Required. | off |

```sh
asc web removed-apps restore --app APP_ID --access full --confirm
```

## web app-bundles

App bundles: sets of apps sold together. Apple's public API has no app bundles.

### web app-bundles list

Lists every app bundle with its platforms and review status. All pages are always read.

No flags besides `--output` and `--pretty`.

```sh
asc web app-bundles list --output table
```

### web app-bundles view

Shows a bundle's status, sale state and apps in display order, and whether it can be submitted (`canSubmit`) or removed from review (`canRemoveFromReview`).

| Flag | What it does | Default |
| --- | --- | --- |
| `--id` | App bundle ID. Required. | — |

```sh
asc web app-bundles view --id "BUNDLE_ID" --output table
```

### web app-bundles create

Creates a bundle of approved apps, like App Store Connect's bundle page. The first app is the primary app; Apple fills in the primary language, metadata and compatible price tiers from the apps. The new bundle is not cleared for sale, and Apple offers no way to delete a bundle.

| Flag | What it does | Default |
| --- | --- | --- |
| `--name` | Bundle name in the primary language. Required. | — |
| `--sku` | Bundle SKU, unique in your account. Required. | — |
| `--apps` | App IDs, comma-separated, in display order. Required. | — |
| `--price-tier` | Price tier. | the first tier Apple marks compatible with the apps |
| `--confirm` | Confirm creating the bundle. Required. | off |

```sh
asc web app-bundles create --name "My Bundle" --sku "MY_BUNDLE" --apps "APP_ID_1,APP_ID_2" --confirm
```

### web app-bundles apps eligible

Lists the iOS and macOS apps Apple offers for adding to a bundle.

No flags besides `--output` and `--pretty`.

```sh
asc web app-bundles apps eligible --output table
```

### web app-bundles apps set

Sets the apps in a bundle, in the order given. List every app the bundle should keep: one left out is removed, a new ID is added. The first app is the primary app, so changing it can change what Apple derives from it, such as the copyright. A list that already matches sends nothing. Apps can be added or removed only until the bundle is approved; after that only the order can change. Remove a bundle from review before editing it.

| Flag | What it does | Default |
| --- | --- | --- |
| `--id` | App bundle ID. Required. | — |
| `--apps` | App IDs, comma-separated, in display order. Required. | — |
| `--confirm` | Confirm the change. Required. | off |

```sh
asc web app-bundles apps set --id "BUNDLE_ID" --apps "APP_ID_2,APP_ID_1" --confirm
```

### web app-bundles submit

Submits a bundle for App Review. Possible only when `canSubmit` in `web app-bundles view` is true.

| Flag | What it does | Default |
| --- | --- | --- |
| `--id` | App bundle ID. Required. | — |
| `--confirm` | Confirm the submission. Required. | off |

```sh
asc web app-bundles submit --id "BUNDLE_ID" --confirm
```

### web app-bundles remove-from-review

Removes a submitted bundle from App Review so it can be edited. Possible only when `canRemoveFromReview` in `web app-bundles view` is true.

| Flag | What it does | Default |
| --- | --- | --- |
| `--id` | App bundle ID. Required. | — |
| `--confirm` | Confirm the change. Required. | off |

```sh
asc web app-bundles remove-from-review --id "BUNDLE_ID" --confirm
```

## web bundle-ids

Bundle IDs (App IDs) as the Developer Portal shows them, including the capabilities Apple's public API cannot set. Their ID is Apple's resource ID for the bundle ID, from `asc bundle-ids list` or `web bundle-ids list`, not the reverse-DNS identifier.

### web bundle-ids list

Lists the iOS and Mac bundle IDs of the Apple Developer team, up to 1000 in one read. JSON includes any `links.next` Apple returns; there is no `--paginate`.

| Flag | What it does | Default |
| --- | --- | --- |
| `--developer-team` | Developer Portal team. | the selected Apple team |

```sh
asc web bundle-ids list --output table
```

### web bundle-ids view

Shows one bundle ID with every capability on it, including those only the Developer Portal can set. It only reads; profiles are not affected.

| Flag | What it does | Default |
| --- | --- | --- |
| `--bundle-id` | Bundle ID resource ID. Required. | — |
| `--developer-team` | Developer Portal team. | the selected Apple team |

```sh
asc web bundle-ids view --bundle-id "BUNDLE_RESOURCE_ID" --output table
```

### web bundle-ids capabilities enable

Turns on a capability that only the Developer Portal can set (the IDs in the table below). Capabilities Apple's public API supports are set with `asc bundle-ids capabilities add|remove` (see [asc bundle-ids](https://air.build/docs/cli/asc-bundle-ids/)). Every other capability and setting on the bundle ID is kept. A capability that is already on is reported as such, with no change.

Changing an App ID invalidates the provisioning profiles that contain it: afterwards, match the target's entitlements and reissue the profile with `asc profiles create --bundle-id BUNDLE_ID`.

| Flag | What it does | Default |
| --- | --- | --- |
| `--bundle-id` | Bundle ID resource ID. Required. | — |
| `--capability` | Capability ID from the table below. Required. | — |
| `--confirm` | Confirm the change. Required. | off |
| `--developer-team` | Developer Portal team. | the selected Apple team |

```sh
asc web bundle-ids capabilities enable --bundle-id "BUNDLE_RESOURCE_ID" --capability "PRIVATE_CLOUD_COMPUTE" --confirm
```

Capabilities only the Developer Portal can set:

| ID | Capability | Entitlement | Note |
| --- | --- | --- | --- |
| `APPLE_PAY_LATER_MERCHANDISING` | Apple Pay Later Merchandising | `com.apple.developer.pay-later-merchandising` | — |
| `APP_ATTEST` | App Attest | `com.apple.developer.devicecheck.appattest-environment` | — |
| `CARPLAY_MESSAGING` | CarPlay Messaging App | `com.apple.developer.carplay-messaging` | Apple must grant the entitlement first. |
| `CARPLAY_NAVIGATION` | CarPlay Navigation App | `com.apple.developer.carplay-maps` | Apple must grant the entitlement first. |
| `CARPLAY_PLAYABLE_CONTENT` | CarPlay Audio App | `com.apple.developer.carplay-audio` | Apple must grant the entitlement first. |
| `CARPLAY_VOIP` | CarPlay VoIP Calling App | `com.apple.developer.carplay-calling` | Apple must grant the entitlement first. |
| `CRITICAL_ALERTS` | Critical Alerts | `com.apple.developer.usernotifications.critical-alerts` | Apple must grant the entitlement first. |
| `DECLARED_AGE_RANGE` | Declared Age Range | `com.apple.developer.declared-age-range` | — |
| `DRIVERKIT_ALLOWTHIRDPARTY_USERCLIENTS` | DriverKit Allow Third Party UserClients | `com.apple.developer.driverkit.allow-third-party-userclients` | Apple must grant the entitlement first. |
| `DRIVERKIT_COMMUNICATESWITHDRIVERS` | Communicates with Drivers | `com.apple.developer.driverkit.communicates-with-drivers` | Apple must grant the entitlement first. |
| `DRIVERKIT_FAMILY_AUDIO_PUB` | DriverKit Family Audio (development) | `com.apple.developer.driverkit.family.audio` | Apple must grant the entitlement first. |
| `DRIVERKIT_FAMILY_HIDDEVICE_PUB` | DriverKit Family HID Device (development) | `com.apple.developer.driverkit.family.hid.device` | Apple must grant the entitlement first. |
| `DRIVERKIT_FAMILY_HIDEVENTSERVICE_PUB` | DriverKit Family HID EventService (development) | `com.apple.developer.driverkit.family.hid.eventservice` | Apple must grant the entitlement first. |
| `DRIVERKIT_FAMILY_NETWORKING_PUB` | DriverKit Family Networking (development) | `com.apple.developer.driverkit.family.networking` | Apple must grant the entitlement first. |
| `DRIVERKIT_FAMILY_SCSICONTROLLER_PUB` | DriverKit Family SCSIController (development) | `com.apple.developer.driverkit.family.scsicontroller` | Apple must grant the entitlement first. |
| `DRIVERKIT_FAMILY_SERIAL_PUB` | DriverKit Family Serial (development) | `com.apple.developer.driverkit.family.serial` | Apple must grant the entitlement first. |
| `DRIVERKIT_PUBLIC` | DriverKit for Development | `com.apple.developer.driverkit` | Apple must grant the entitlement first. |
| `DRIVERKIT_TRANSPORT_HID_PUB` | DriverKit Transport HID (development) | `com.apple.developer.driverkit.transport.hid` | Apple must grant the entitlement first. |
| `DRIVERKIT_USBTRANSPORT_PUB` | DriverKit USB Transport (development) | `com.apple.developer.driverkit.transport.usb` | Apple must grant the entitlement first. |
| `EXTENDED_VIRTUAL_ADDRESSING` | Extended Virtual Address Space | `com.apple.developer.kernel.extended-virtual-addressing` | — |
| `FAMILY_CONTROLS` | Family Controls | `com.apple.developer.family-controls` | — |
| `FILEPROVIDER_TESTINGMODE` | FileProvider TestingMode | `com.apple.developer.fileprovider.testing-mode` | — |
| `FONT_INSTALLATION` | Fonts | `com.apple.developer.user-fonts` | — |
| `GROUP_ACTIVITIES` | Group Activities | `com.apple.developer.group-session` | — |
| `HEALTHKIT_RECALIBRATE_ESTIMATES` | Recalibrate Estimates | `com.apple.developer.healthkit.recalibrate-estimates` | — |
| `HLS_INTERSTITIAL_PREVIEW` | HLS Interstitial Previews | — | — |
| `HOTSPOT_HELPER_MANAGED` | Hotspot Helper | `com.apple.developer.networking.HotspotHelper` | Apple must grant the entitlement first. |
| `INCREASED_MEMORY_LIMIT` | Increased Memory Limit | `com.apple.developer.kernel.increased-memory-limit` | — |
| `IPAD_CAMERA_MULTITASKING` | iPad Camera Multitasking | — | — |
| `JOURNALING_SUGGESTIONS` | Journaling Suggestions | `com.apple.developer.journal.allow` | — |
| `MANAGED_APP_INSTALLATION_UI` | Managed App Installation UI | `com.apple.developer.managed-app-distribution.install-ui` | — |
| `MARZIPAN` | Mac Catalyst | — | — |
| `MATTER_ALLOW_SETUP_PAYLOAD` | Matter Allow Setup Payload | `com.apple.developer.matter.allow-setup-payload` | — |
| `MDM_MANAGED_ASSOCIATED_DOMAINS` | MDM Managed Associated Domains | `com.apple.developer.associated-domains.mdm-managed` | — |
| `MEDIA_DEVICE_DISCOVERY` | Media Device Discovery | `com.apple.developer.media-device-discovery-extension` | — |
| `MESSAGES_COLLABORATION` | Messages Collaboration | `com.apple.developer.shared-with-you.collaboration` | — |
| `MUSIC_KIT` | MusicKit | — | — |
| `NETWORK_SLICING` | 5G Network Slicing | `com.apple.developer.networking.slicing.appcategory`, `com.apple.developer.networking.slicing.trafficcategory` | — |
| `ONDEMANDINSTALL_EXTENSIONS` | On Demand Install Capable for App Clip Extensions | `com.apple.developer.on-demand-install-capable` | — |
| `PRIVATE_CLOUD_COMPUTE` | Private Cloud Compute | — | — |
| `PUSH_TO_TALK` | Push to Talk | `com.apple.developer.push-to-talk` | — |
| `SENSITIVE_CONTENT_ANALYSIS` | Sensitive Content Analysis | `com.apple.developer.sensitivecontentanalysis.client` | — |
| `SFUNIVERSALLINK_API` | Default Navigation (SFUniversalLink) | — | — |
| `SHALLOW_DEPTH_PRESSURE` | Shallow Depth and Pressure | `com.apple.developer.submerged-shallow-depth-and-pressure` | — |
| `SHARED_WITH_YOU` | Shared with You | `com.apple.developer.shared-with-you` | — |
| `SHAZAM_KIT` | ShazamKit | — | — |
| `SUSTAINED_EXECUTION` | Sustained Execution | — | — |
| `TAP_TO_DISPLAY_ID` | Tap to Present ID on iPhone (Display Only) | `com.apple.developer.proximity-reader.identity.display` | Apple must grant the entitlement first. |
| `TAP_TO_PAY_ON_IPHONE` | Tap to Pay on iPhone | `com.apple.developer.proximity-reader.payment.acceptance` | Apple must grant the entitlement first. |
| `USERNOTIFICATIONS_COMMUNICATION` | Communication Notifications | `com.apple.developer.usernotifications.communication` | — |
| `USERNOTIFICATIONS_TIMESENSITIVE` | Time Sensitive Notifications | `com.apple.developer.usernotifications.time-sensitive` | — |
| `VMNET` | vmnet | `com.apple.vm.networking` | — |
| `VP9_DECODER` | VP9 Decoder | — | — |
| `WEATHERKIT` | WeatherKit | `com.apple.developer.weatherkit` | — |

For the capabilities marked, turning them on is not enough: Apple must have granted the entitlement to the team first.

### web bundle-ids capabilities disable

Turns off one of those capabilities. Every other capability is kept. The command succeeds only when a fresh read shows the capability off (or removed by Apple) and nothing else changed. A capability that is already off is reported as such, with no change. Profiles that contain the App ID are invalidated, as for `enable`.

| Flag | What it does | Default |
| --- | --- | --- |
| `--bundle-id` | Bundle ID resource ID. Required. | — |
| `--capability` | Capability ID from the table above. Required. | — |
| `--confirm` | Confirm the change. Required. | off |
| `--developer-team` | Developer Portal team. | the selected Apple team |

```sh
asc web bundle-ids capabilities disable --bundle-id "BUNDLE_RESOURCE_ID" --capability "PRIVATE_CLOUD_COMPUTE" --confirm
```

### web bundle-ids capabilities sync-app-clip

Turns on a capability on an App Clip's bundle ID together with the link to its parent app, which App Clip bundle IDs need. When the capability is already on with that parent (and the settings given), it reports `changed=false` and sends nothing. Every other capability is kept. A changed App ID invalidates its provisioning profiles; reissue them before the next signed build.

| Flag | What it does | Default |
| --- | --- | --- |
| `--bundle-id` | The App Clip's bundle ID resource ID. Required. | — |
| `--parent-bundle-id` | The parent app's bundle ID resource ID. Required. | — |
| `--capability` | Capability ID, e.g. `PUSH_NOTIFICATIONS`. Required. | — |
| `--settings-json` | Capability settings as a JSON array. | none |
| `--confirm` | Confirm the change. Required. | off |

```sh
asc web bundle-ids capabilities sync-app-clip --bundle-id "CLIP_BUNDLE_ID" --parent-bundle-id "PARENT_BUNDLE_ID" --capability "PUSH_NOTIFICATIONS" --confirm
```

## web service-ids

Services IDs, used for Sign in with Apple on the web. Apple's public API does not have them. Their ID is the Developer Portal resource ID from `web service-ids list`.

### web service-ids list

Lists the team's Services IDs, up to 1000. JSON keeps Apple's complete response.

| Flag | What it does | Default |
| --- | --- | --- |
| `--developer-team` | Developer Portal team. | the selected Apple team |

```sh
asc web service-ids list --output json
```

### web service-ids view

Shows one Services ID and its capabilities. Use `--output json` for the full capability details.

| Flag | What it does | Default |
| --- | --- | --- |
| `--service-id` | Services ID resource ID. Required. | — |
| `--developer-team` | Developer Portal team. | the selected Apple team |

```sh
asc web service-ids view --service-id "SERVICE_RESOURCE_ID" --output json
```

### web service-ids create

Registers a Services ID with no capabilities. Sign in with Apple must then be turned on and given a primary App ID in the Developer Portal before `domains set` can be used.

| Flag | What it does | Default |
| --- | --- | --- |
| `--identifier` | The identifier, e.g. `com.example.service`. Required. | — |
| `--name` | Display name. Required. | — |
| `--confirm` | Confirm registering it. Required. | off |
| `--developer-team` | Developer Portal team. | the selected Apple team |

```sh
asc web service-ids create --identifier "com.example.service" --name "Example Service" --confirm
```

### web service-ids rename

Renames a Services ID. Its capabilities are kept.

| Flag | What it does | Default |
| --- | --- | --- |
| `--service-id` | Services ID resource ID. Required. | — |
| `--name` | New display name. Required. | — |
| `--confirm` | Confirm the change. Required. | off |
| `--developer-team` | Developer Portal team. | the selected Apple team |

```sh
asc web service-ids rename --service-id "SERVICE_RESOURCE_ID" --name "New Name" --confirm
```

### web service-ids delete

Deletes a Services ID and checks that it is gone.

| Flag | What it does | Default |
| --- | --- | --- |
| `--service-id` | Services ID resource ID. Required. | — |
| `--confirm` | Confirm the deletion. Required. | off |
| `--developer-team` | Developer Portal team. | the selected Apple team |

```sh
asc web service-ids delete --service-id "SERVICE_RESOURCE_ID" --confirm
```

### web service-ids domains set

Replaces the Sign in with Apple domains and return URLs of a Services ID. Sign in with Apple must already be on, with a primary App ID; that and the other capabilities are kept. Both lists are complete replacements and can't be empty: include every value you want to keep. Domains are ASCII host names (punycode for international names). Return URLs use HTTPS, have no credentials or fragment, and use a host from `--domain`.

| Flag | What it does | Default |
| --- | --- | --- |
| `--service-id` | Services ID resource ID. Required. | — |
| `--domain` | All domains, comma-separated. Required. | — |
| `--return-url` | All return URLs, comma-separated. Required. | — |
| `--confirm` | Confirm replacing the lists. Required. | off |
| `--developer-team` | Developer Portal team. | the selected Apple team |

```sh
asc web service-ids domains set --service-id "SERVICE_ID" --domain "example.com" --return-url "https://example.com/callback" --confirm
```

## web sign-in-keys

Sign in with Apple keys. Like APNs keys, a key's private `.p8` file can be downloaded from Apple only once. `create` and `download` save it as `AuthKey_KEY_ID.p8` with owner-only permissions in `--output-dir`, never overwrite a file and never print the key. They run on macOS and Linux. A failed create or download is not retried; run `list` before trying again. Keep the file out of the repository and out of logs.

### web sign-in-keys list

Lists up to 1000 of the team's keys, including keys for other services, and whether each can still be downloaded. JSON keeps Apple's response. It downloads nothing.

| Flag | What it does | Default |
| --- | --- | --- |
| `--developer-team` | Developer Portal team. | the selected Apple team |

```sh
asc web sign-in-keys list --output table
```

### web sign-in-keys view

Shows a key's services and the bundle IDs it is configured for.

| Flag | What it does | Default |
| --- | --- | --- |
| `--key-id` | Key ID. Required. | — |
| `--developer-team` | Developer Portal team. | the selected Apple team |

```sh
asc web sign-in-keys view --key-id KEY_ID
```

### web sign-in-keys create

Creates a Sign in with Apple key for a primary App ID and saves its `.p8`.

| Flag | What it does | Default |
| --- | --- | --- |
| `--name` | Key name. Required. | — |
| `--bundle-id` | Bundle ID resource ID of the primary App ID (not the reverse-DNS identifier). Required. | — |
| `--output-dir` | Folder for the `.p8`. Required. | — |
| `--confirm` | Confirm creating the key and using up its one download. Required. | off |
| `--developer-team` | Developer Portal team. | the selected Apple team |

```sh
asc web sign-in-keys create --name "Example Sign In" --bundle-id BUNDLE_RESOURCE_ID --output-dir ~/secrets --confirm
```

### web sign-in-keys download

Saves the `.p8` of an existing key, if its one download has not been used.

| Flag | What it does | Default |
| --- | --- | --- |
| `--key-id` | Key ID. Required. | — |
| `--output-dir` | Folder for the `.p8`. Required. | — |
| `--confirm` | Confirm using up the key's one download. Required. | off |
| `--developer-team` | Developer Portal team. | the selected Apple team |

```sh
asc web sign-in-keys download --key-id KEY_ID --output-dir ~/secrets --confirm
```

## web website-push-ids

Website Push IDs, for Safari push notifications. They can't be renamed here. Create and delete refuse to act when the Website Push ID has capabilities.

### web website-push-ids list

Lists the team's Website Push IDs. JSON keeps Apple's complete response; a table shows a few fields of each.

| Flag | What it does | Default |
| --- | --- | --- |
| `--developer-team` | Developer Portal team. | the selected Apple team |

```sh
asc web website-push-ids list --output table
```

### web website-push-ids view

Shows one Website Push ID. JSON keeps Apple's complete response.

| Flag | What it does | Default |
| --- | --- | --- |
| `--website-push-id` | Website Push ID resource ID. Required. | — |
| `--developer-team` | Developer Portal team. | the selected Apple team |

```sh
asc web website-push-ids view --website-push-id "WEBSITE_PUSH_RESOURCE_ID" --output table
```

### web website-push-ids create

Registers a Website Push ID.

| Flag | What it does | Default |
| --- | --- | --- |
| `--identifier` | The identifier, e.g. `web.example.com`. Required. | — |
| `--name` | Display name. Required. | — |
| `--confirm` | Confirm registering it. Required. | off |
| `--developer-team` | Developer Portal team. | the selected Apple team |

```sh
asc web website-push-ids create --name "Example Website" --identifier "web.example.com" --confirm
```

### web website-push-ids delete

Deletes a Website Push ID, only when Apple allows it to be deleted and it has no capabilities, and checks that it is gone.

| Flag | What it does | Default |
| --- | --- | --- |
| `--website-push-id` | Website Push ID resource ID. Required. | — |
| `--confirm` | Confirm the deletion. Required. | off |
| `--developer-team` | Developer Portal team. | the selected Apple team |

```sh
asc web website-push-ids delete --website-push-id "WEBSITE_PUSH_RESOURCE_ID" --confirm
```

## web icloud-containers

iCloud containers, and linking them to App IDs. A container can never be deleted.

### web icloud-containers list

Lists the team's visible iCloud containers, or the hidden ones with `--hidden`, up to 1000 in one read. There is no `--paginate`; any paging details Apple returns are in the JSON.

| Flag | What it does | Default |
| --- | --- | --- |
| `--hidden` | List hidden containers instead of visible ones. | off |
| `--developer-team` | Developer Portal team. | the selected Apple team |

```sh
asc web icloud-containers list --output table
```

### web icloud-containers create

Creates an iCloud container. It can never be deleted, and Apple keeps its identifier reserved for the team for good, so check the identifier first. The identifier must start with `iCloud.` followed by a reverse-DNS string (letters, digits, hyphens and dots); `asc` does not add the prefix. An identifier that already exists, visible or hidden, is refused.

| Flag | What it does | Default |
| --- | --- | --- |
| `--identifier` | Container identifier, e.g. `iCloud.com.example.app`. Required. | — |
| `--name` | Display name. Required. | — |
| `--confirm` | Confirm creating a permanent container. Required. | off |
| `--developer-team` | Developer Portal team. | the selected Apple team |

```sh
asc web icloud-containers create --identifier "iCloud.com.example.app" --name "Example" --confirm
```

### web icloud-containers assign

Links iCloud containers to an App ID. Containers already linked stay linked. Turn on the `ICLOUD` capability first with `asc bundle-ids capabilities add --capability ICLOUD`; that alone links no container. Linking changes the App ID, which invalidates its provisioning profiles: reissue them with `asc profiles create --bundle-id BUNDLE_ID` and check the signed entitlements.

| Flag | What it does | Default |
| --- | --- | --- |
| `--bundle-id` | The App ID: bundle identifier (`com.example.app`) or resource ID from `asc bundle-ids list`. Required. | — |
| `--container` | Container identifier, e.g. `iCloud.com.example.app`; repeatable. Required. | — |
| `--confirm` | Confirm linking (invalidates the App ID's profiles). Required. | off |

```sh
asc web icloud-containers assign --bundle-id com.example.app --container iCloud.com.example.app --confirm
```

## web app-groups

App Groups and the App IDs they are assigned to. Apple's public API does not have them, and Apple requires the Account Holder or Admin role. Their ID is Apple's resource ID from `web app-groups list`; bundle IDs are resource IDs from `asc bundle-ids list`. Commands that change an App ID invalidate the provisioning profiles that contain it; reissue them before the next signed build.

### web app-groups list

Lists the team's App Groups with their resource IDs.

| Flag | What it does | Default |
| --- | --- | --- |
| `--developer-team` | Developer Portal team. | the selected Apple team |

```sh
asc web app-groups list --output table
```

### web app-groups create

Registers an App Group.

| Flag | What it does | Default |
| --- | --- | --- |
| `--identifier` | Identifier starting with `group.`. Required. | — |
| `--name` | Display name. Required. | — |
| `--confirm` | Confirm registering it. Required. | off |
| `--developer-team` | Developer Portal team. | the selected Apple team |

```sh
asc web app-groups create --name "Example Shared" --identifier "group.com.example.shared" --confirm
```

### web app-groups assign

Assigns an App Group to a bundle ID, turning on the `APP_GROUPS` capability if needed. Other capabilities are kept. An existing assignment is left as it is.

| Flag | What it does | Default |
| --- | --- | --- |
| `--group` | App Group resource ID. Required. | — |
| `--bundle-id` | Bundle ID resource ID. Required. | — |
| `--confirm` | Confirm the assignment. Required. | off |
| `--developer-team` | Developer Portal team. | the selected Apple team |

```sh
asc web app-groups assign --group "GROUP_RESOURCE_ID" --bundle-id "BUNDLE_RESOURCE_ID" --confirm
```

### web app-groups unassign

Removes one App Group from a bundle ID. Removing the last one turns `APP_GROUPS` off. A group that is not assigned is left as it is.

| Flag | What it does | Default |
| --- | --- | --- |
| `--group-id` | App Group resource ID. Required. | — |
| `--bundle-id` | Bundle ID resource ID. Required. | — |
| `--confirm` | Confirm the removal. Required. | off |
| `--developer-team` | Developer Portal team. | the selected Apple team |

```sh
asc web app-groups unassign --group-id "GROUP_RESOURCE_ID" --bundle-id "BUNDLE_RESOURCE_ID" --confirm
```

### web app-groups set

Makes a bundle ID's App Groups exactly the ones given: missing ones are added, others removed. The receipt lists what was added and removed; when nothing differs, it reports `changed=false` and sends nothing.

| Flag | What it does | Default |
| --- | --- | --- |
| `--bundle-id` | Bundle ID resource ID. Required. | — |
| `--group` | App Group resource ID to keep; repeatable. Required. | — |
| `--confirm` | Confirm the change. Required. | off |
| `--developer-team` | Developer Portal team. | the selected Apple team |

```sh
asc web app-groups set --bundle-id "BUNDLE_RESOURCE_ID" --group "GROUP_RESOURCE_ID" --group "OTHER_GROUP_ID" --confirm
```

### web app-groups delete

Deletes an App Group. When the group is still assigned to a bundle ID, nothing is deleted: the command exits non-zero and names those bundle IDs on stderr; remove the assignments first with `unassign` or `set`. Deleting a group invalidates the profiles of App IDs that used it.

| Flag | What it does | Default |
| --- | --- | --- |
| `--group-id` | App Group resource ID. Required. | — |
| `--confirm` | Confirm the deletion. Required. | off |
| `--developer-team` | Developer Portal team. | the selected Apple team |

```sh
asc web app-groups delete --group-id "GROUP_RESOURCE_ID" --confirm
```

## web push-keys

APNs authentication keys. See [APNs push keys](https://air.build/docs/cli/asc-web/#apns-push-keys) for how many a team can have and how to keep the `.p8`. `create` and `download` save `AuthKey_KEY_ID.p8` with owner-only permissions in `--output-dir`, never overwrite a file, never print the key and are never retried automatically; run `list` before trying again.

### web push-keys list

Lists the team's APNs keys and whether each `.p8` can still be downloaded. It downloads nothing.

| Flag | What it does | Default |
| --- | --- | --- |
| `--developer-team` | Developer Portal team. | the selected Apple team |

```sh
asc web push-keys list
```

### web push-keys create

Creates an APNs key for sandbox and production and saves its `.p8`.

| Flag | What it does | Default |
| --- | --- | --- |
| `--name` | Key name. Required. | — |
| `--output-dir` | Folder for the `.p8`. Required. | — |
| `--confirm` | Confirm creating the key and using up its one download. Required. | off |
| `--developer-team` | Developer Portal team. | the selected Apple team |

```sh
asc web push-keys create --name "Notes Push" --output-dir ~/secrets --confirm
```

### web push-keys download

Saves the `.p8` of an existing APNs key, if its one download has not been used.

| Flag | What it does | Default |
| --- | --- | --- |
| `--key-id` | APNs key ID. Required. | — |
| `--output-dir` | Folder for the `.p8`. Required. | — |
| `--confirm` | Confirm using up the key's one download. Required. | off |
| `--developer-team` | Developer Portal team. | the selected Apple team |

```sh
asc web push-keys download --key-id KEY_ID --output-dir ~/secrets --confirm
```

## web privacy

The app's privacy labels (data usage declarations), kept in a JSON file. The order of the commands is under [App privacy labels](https://air.build/docs/cli/asc-web/#app-privacy-labels).

### web privacy catalog

Lists the category, purpose and data protection values a declaration file can use.

No flags besides `--output` and `--pretty`.

```sh
asc web privacy catalog
```

### web privacy pull

Saves the app's current declarations as JSON for `plan` and `apply`. Values `asc` can't represent are kept as `UNKNOWN_OR_MISSING` and counted in `unrepresentableCount`; `plan` and `apply` refuse the file until those entries are fixed.

| Flag | What it does | Default |
| --- | --- | --- |
| `--app` | App ID. Required, or set `ASC_APP_ID`. | — |
| `--out` | File to write. | stdout |

```sh
asc web privacy pull --app "123456789" --out "./privacy.json"
```

### web privacy plan

Shows what `apply` would change between the file and the app's current declarations. Values are checked against the live catalog; ones Apple has removed are listed as `staleTokens`. It changes nothing and exits `0`.

| Flag | What it does | Default |
| --- | --- | --- |
| `--app` | App ID. Required, or set `ASC_APP_ID`. | — |
| `--file` | The declaration JSON file. Required. | — |

```sh
asc web privacy plan --app "123456789" --file "./privacy.json"
```

### web privacy apply

Makes the app's declarations match the file. It does not publish them, although Apple may update its published-state details. It refuses files with `UNKNOWN_OR_MISSING` entries or values Apple no longer lists. Updates run first, then additions, then deletions, so an interruption usually leaves extra entries rather than missing ones (except that "data not collected" and collected data can't coexist, so that deletion runs first). After a failure part way through, it prints which steps were applied, unknown or not applied and exits non-zero; running the same file again finishes the job and reports `changed=false` once nothing is left. Entries Apple returned without an ID stay in `skippedDeletes` and must be removed by hand.

| Flag | What it does | Default |
| --- | --- | --- |
| `--app` | App ID. Required, or set `ASC_APP_ID`. | — |
| `--file` | The declaration JSON file. Required. | — |
| `--allow-deletes` | Delete declarations that are missing from the file. | off |
| `--confirm` | Confirm the deletions. Required with `--allow-deletes`. | off |

```sh
asc web privacy apply --app "123456789" --file "./privacy.json" --allow-deletes --confirm
```

### web privacy publish

Publishes the app's declarations after `apply`. It succeeds only when Apple confirms they are published.

| Flag | What it does | Default |
| --- | --- | --- |
| `--app` | App ID. Required, or set `ASC_APP_ID`. | — |
| `--confirm` | Confirm publishing. Required. | off |

```sh
asc web privacy publish --app "123456789" --confirm
```

## web review

App Review as App Store Connect shows it: submissions, Resolution Center threads and messages, rejections, and what is attached to the next review. `--app` scopes each command to one app, except `reply`, which takes only a thread ID, and `sandbox-entitlements`, which takes a macOS version. Every command is on [asc web: review](https://air.build/docs/cli/asc-web-review/).

Every `web review` command, with its flags and examples, is on [asc web: review](https://air.build/docs/cli/asc-web-review/).

## web subscriptions

Subscription settings App Store Connect only offers on its website.

### web subscriptions availability remove-from-sale

Removes an approved auto-renewable subscription from sale, as App Store Connect does. Apple allows only the Account Holder to do this.

| Flag | What it does | Default |
| --- | --- | --- |
| `--subscription-id` | Subscription ID, or with `--app` its product ID or exact current name. Required. | — |
| `--app` | App ID; lets `--subscription-id` be a product ID or name. | — |
| `--plan-availability-id` | Subscription plan availability ID. | — |
| `--confirm` | Confirm. Required. | off |

```sh
asc web subscriptions availability remove-from-sale --app "APP_ID" --subscription-id "com.example.monthly" --confirm
```

### web subscriptions pricing adjusted-equalizations view

Shows Apple's generated price matrix for a monthly subscription price point.

| Flag | What it does | Default |
| --- | --- | --- |
| `--price-point-id` | Subscription price point ID. Required. | — |
| `--plan-type` | Plan type; only `MONTHLY`. | `MONTHLY` |

```sh
asc web subscriptions pricing adjusted-equalizations view --price-point-id PRICE_POINT_ID
```

### web subscriptions pricing monthly-commitment bootstrap

Sets up monthly pricing with a 12-month commitment the way App Store Connect's website does: creates the monthly plan availability, then attaches a paired up-front and monthly price. For normal setup, `asc subscriptions pricing monthly-commitment enable` is the better choice (see [asc subscriptions](https://air.build/docs/cli/asc-subscriptions/)); use this one when you need the website's paired pricing or a paired scheduled price change. `--dry-run` does every read and price lookup and changes nothing.

| Flag | What it does | Default |
| --- | --- | --- |
| `--subscription-id` | Subscription ID. Required. | — |
| `--territory` | Three-letter territory, e.g. `NOR`. Required. | — |
| `--upfront-price` | Up-front customer price in that territory. This or `--upfront-price-point-id` is required. | — |
| `--upfront-price-point-id` | Up-front price point ID. | — |
| `--monthly-price` | Monthly customer price in that territory. This or `--monthly-price-point-id` is required. | — |
| `--monthly-price-point-id` | Monthly price point ID. | — |
| `--start-date` | Schedule both prices for this date, `YYYY-MM-DD`, as a scheduled price change. | — |
| `--preserve-current-price` | Keep current prices for existing subscribers. Needs `--start-date`. | off |
| `--dry-run` | Show the plan, change nothing. | off |
| `--confirm` | Confirm. Required unless `--dry-run`. | off |

```sh
asc web subscriptions pricing monthly-commitment bootstrap --subscription-id SUB_ID --territory NOR --upfront-price UPFRONT_PRICE --monthly-price MONTHLY_PRICE --dry-run
```

## web analytics

Reads the App Store Connect Analytics dashboards as the website shows them. This is separate from the Analytics Reports API behind `asc analytics` (see [asc: analytics and finance](https://air.build/docs/cli/asc-analytics/)).

Every `web analytics` command, with its flags and examples, is on [asc web: analytics](https://air.build/docs/cli/asc-web-analytics/).

## web xcode-cloud

Xcode Cloud compute usage, workflows, environment variables and product settings. Products are Xcode Cloud's apps; find their IDs with `web xcode-cloud products` and workflow IDs with `web xcode-cloud workflows list`. For builds and runs through Apple's public API, see [asc xcode-cloud](https://air.build/docs/cli/asc-xcode-cloud/).

Every `web xcode-cloud` command, with its flags and examples, is on [asc web: Xcode Cloud](https://air.build/docs/cli/asc-web-xcode-cloud/).

## Examples

Check the web session, then create an app record:

```bash
asc web auth status --output table
asc web apps create --name "My App" --bundle-id "com.example.app" --sku "MYAPP123"
```

Update privacy labels from a file:

```bash
asc web privacy pull --app "APP_ID" --out ./privacy.json
asc web privacy plan --app "APP_ID" --file ./privacy.json
asc web privacy apply --app "APP_ID" --file ./privacy.json
```

Create an APNs key once and save the `.p8` outside the repository:

```bash
asc web push-keys list
asc web push-keys create --name "Notes Push" --output-dir ~/secrets --confirm
```

Read the latest App Review messages for an app:

```bash
asc web review show --app "APP_ID"
```
