Remove a version from a track (composite)
play_remove_version_from_trackUnpublish a build from a Google Play track by removing its versionCode. Pull a bad release off production or any track without deleting the uploaded artifact.
Instructions
Removes one versionCode from a track's active releases (e.g. to pull a bad build off production) by fetching the track, filtering it out, and committing. Note this only unpublishes the version from that track — it does not delete the uploaded artifact itself (Google Play does not support deleting uploaded bundles/APKs).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| track | Yes | Track name: "internal", "alpha", "beta", "production", or a custom closed-testing/open-testing track name as shown in Play Console. | |
| packageName | Yes | Play Console package name, e.g. "com.example.app" | |
| versionCode | Yes | versionCode to remove |