You can remove a release in the Vendor Portal by using the archive button (red trash can) on the Releases tab, selecting the release(s) you would like to archive and clicking the Archive Releases button.
Alternatively, you can run the command below.
curl 'https://g.replicated.com/graphql' \
-H 'authorization: <token>' \
-H 'content-type: application/json' \
-H 'accept: */*' \
--data-raw $'{"operationName":"archiveKotsReleases","variables":{"appId":"<app-id>","sequences":[<sequence-1>, <sequence-2>]},"query":"mutation archiveKotsReleases($appId: ID\u0021, $sequences: [Int]) {\\n archiveKotsReleases(appId: $appId, sequences: $sequences)\\n}\\n"}' \
--compressed
You’ll need to use a user token or a service account token and replace <token>
in the command with the desired token.
You will also replace <app-id>
, <sequence-1>
and <sequence-2>
with your values.