Remove features

Remove a feature if your mini program no longer needs its capabilities. This action disables the feature's JSAPIs and minimizes maintenance effort.

Note: Removing a feature that requires activation will revoke its activation. To re-add the feature later, you must re-submit an activation request to the super app for approval.

Before you begin

Ensure the following things:

  • Have required access: You must be either:
    • Workspace admin for the workspace where the mini program was created.
    • Admin for the mini program you want to configure.
  • Know feature names: Identify the names of the features you want to remove.
  • Understand update behavior: Removing features might require you to create a new version of your mini program. For details, see How changes take effect.

Procedure

To remove features from your mini program, take the following steps:

Step 1: Open the mini program details page

  1. Log in to Mini Program Platform and navigate to the target workspace.
  2. In the left navigation panel, click Mini Programs.
  3. On the page that appears, find the target mini program in the list. You can use the search field to locate it quickly.
  4. Click the name of the mini program to open its details page.

Step 2: Remove the feature

  1. On the mini program details page, click the Features tab.
  2. In the feature list, find the feature you want to remove. You can review its description or click its name for details to confirm your selection.
  3. In the Action column for that feature, click Remove.
  4. In the confirmation dialog, click Remove to confirm.

(Optional) Step 3: Save the changes

If prompted to save changes, follow the instructions based on the prompt you see:

  • If changes apply to the current version
    • When this occurs: The latest version of the H5+ mini program in all target apps is New Version Created.
    • What to do next: Choose an option based on your needs:
      • Save: Click this if you need to remove more features or make other changes to the current version later.
      • Save & Publish: Click this if you need to save the changes and immediately start the release process for the version. For release instructions, see Release a mini program.
  • If changes require a new version
    • When this occurs: The latest version of the H5+ mini program in any target app has a status other than New Version Created.
    • What to do next: Configure a new mini program version as follows:
      1. Review or change the version number
        1. Check the New Version field, whose value uses the major.minor.patch format. The field is pre-filled with a suggested version that increments the patch number by 1 (for example, 1.0.1 if the latest version is 1.0.0).
        2. If needed, change the version number. You can follow Semantic Versioning guidelines to assign one.
      1. Select a next step
        • Click Save to create the new version. This will add it to the Versions tab for later action. Select this if you need to remove more features or make other changes to the new version later.
        • Click Save & Publish to create the new version and immediately start the release process for this version. For release instructions, see Release a mini program.

Step 4: Verify success

A success message appears. The removed feature will no longer be listed on the Features tab.

(Optional) Step 5: Remove more features

If you need to remove more features, repeat steps 2–4 for each additional feature you want to remove.