Issue in Deleting deprecated collection

I tried to delete the deprecated collections… Ansible Galaxy
node_management and port_management are the two deprecated collections

  • Originally there were three
  • I appear to be able to delete any one of the three
  • When I delete a second collection, the first deleted one reappears
  • I can try different combinations, always end up with two deprecated collections remaining

Could anyone pls help here?

Hi @Dayadevi_Karunanidhi

Did you attempt to delete the collections via the Galaxy UI?

You could try using the Galaxy REST API: API V3 - Galaxy NG

curl -X 'DELETE' \
'https://galaxy.ansible.com/api/v3/plugin/ansible/content/published/collections/index/mynamespace/mycollection/' \
  -H 'accept: application/json' \
  -H 'Authorization: Token YOURTOKEN'

Note that this would delete all versions of that specified collection in mynamespace/mycollection.

Sure,Thanks @dbrennand .. Will try this and get back

To get the Galaxy token, in Galaxy go to Collections > API token and use that in place of YOURTOKEN in the command above :slightly_smiling_face: