How to remove old flag from the github check

Before submitting a topic, please confirm the following

I have searched for similar issues before creating this topic.
I have verified that my repository is using the Codecov GitHub app, if using GitHub
I have validated my codecov.yaml configuration file.
I have filled out the below sections to the best of my ability.

Description

I have uploaded several report with flag.
=> command I use: ./codecov -t <codetoken> -f coverage/clover.xml -c -F test
I would like to remove the test flag from my repo so that it doesn’t appear in my github check.
How can I do that?

CI/CD URL

Not relevant

Codecov Output

Not relevant

Expected Results

Remove flag from codecov

Actual Results

Can’t remove flag

Additional Information

I tried to Erase repo coverage content but it is showing me We were unable to erase this repo's content.

@kcsam can you post your codecov.yml?

@tom

Here is my codecov.yml

codecov:
  require_ci_to_pass: false # Codecov would not wait for all other statuses to pass before sending its status.
  notify:
    wait_for_ci: false # Codecov would not wait for all CI statuses to complete before sending ours.
    after_n_builds: 1 # number of reports Codecov should wait to receive before sending statuses
coverage:
  precision: 2
  round: down
  status:
    project:
      default:
        target: 70%    # the required coverage value
        threshold: 1%  # the leniency in hitting the target
    patch:
      default:
        target: 90%
        threshold: 1%
comment:
  layout: 'reach,diff,flags,files'
  behavior: default # update, if exists. Otherwise post new
  require_changes: false
  require_base: no
  require_head: no

flag_management:
  default_rules: # the rules that will be followed for any flag added, generally
    carryforward: false
    statuses:
      - type: project
        target: 80%
      - type: patch
        target: 90%
  individual_flags:
    - name: backend
      paths:
      - backend/**
      statuses:
        - type: project
          target: 80%
        - type: patch
          target: 90%
    - name: mobile-app
      paths:
        - mobile-app/**
      statuses:
        - type: project
          target: 60%
        - type: patch
          target: 90%
    - name: mobile-app-ts-coverage
      paths:
        - mobile-app/**
      statuses:
        - type: project
          target: 99%
        - type: patch
          target: 100%
    - name: sorbet-coverage
      paths:
        - backend/**
      statuses:
        - type: project
          target: 99%
        - type: patch
          target: 100%

Here is screenshot of some of my flags under codecov UI
Screenshot 2023-02-07 at 11.11.13 AM

I would like to remove all the test flag eg. test and test-clover (the test flag I create from my local console) from my listed flag.
Is it possible?
Thanks.

Got it, @kcsam. Unfortunately, it is not yet possible to remove an old flag from the UI. We are looking to implement this in the next few months.

@tom
If I choose to Erase Content, would it help to solve this problem?

FYI,
When I choose to Erase Content, it will return me an error of We were unable to erase this repo's content.

If none of the above works, can I ask for support to remove all flags from my repo?

Thanks.

@kcsam, at this time, Erase Content will not delete the old flags, and support will not be able to remove them. However, we are working on that functionality (Erase Content will also remove all flags).

The ETA for the functionality is the end of the month if you can wait until then. Also, are you an admin to the repo?

@kcsam you should be able to remove flags now in the Codecov UI.