vagrant_cloud icon indicating copy to clipboard operation
vagrant_cloud copied to clipboard

Migrating box to a different organization.

Open ladar opened this issue 3 years ago • 0 comments

I want to move unmaintained boxes to a different organization, to avoid confusion. But can't seem to figure out how.

curl -s --header "Content-Type: application/json" --header "Authorization: Bearer $VAGRANT_CLOUD_TOKEN" https://app.vagrantup.com/api/v1/box/lineage/lineage-nash --request PUT --data "{ \"box\": { \"name\": \"lineage-nash\", \"username\": \"archive\" }}" 

Should move the box to the "archive" username but it doesn't appear to work. I've also tried:

curl -s --header "Content-Type: application/json" --header "Authorization: Bearer $VAGRANT_CLOUD_TOKEN" https://app.vagrantup.com/api/v1/box/lineage/lineage-lineage-nash --request PUT --data "{ \"box\": { \"name\": \"lineage-lineage-nash\", \"tag\": \"archive/lineage-lineage-nash\", \"username\": \"archive\", \"short_description\": \"Build Lineage for the Motorola Z2 Force (aka nash).\" }}"

ladar avatar Mar 29 '22 14:03 ladar