How can I remove a release from a channel?

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 '' \
  -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"}' \

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.


Does this prevent the release from being installed?

Yes, however, the release can be unarchived and promoted to a channel if it is needed later or was archived in error.

1 Like

Gotcha – thank you!