heroku / heroku-orgs

this code is now in https://github.com/heroku/cli
ISC License
4 stars 13 forks source link

Customers cannot cancel app transfers #75

Open neilmiddleton opened 7 years ago

neilmiddleton commented 7 years ago
$ curl -XDELETE -H "Authorization: Bearer `h auth:token`" https://api.heroku.com/account/app-transfers/<uuid> -H "Content-Type: application/json" \
  -H "Accept: application/vnd.heroku+json; version=3"

is a thing. Customers can create app transfers via the CLI, but the can't kill them.

raulb commented 7 years ago

@neilmiddleton that's a good point. What would you think it should be the appropriate command?

This is what we've got for for apps:transfer

› heroku help apps:transfer
Usage: heroku apps:transfer RECIPIENT

transfer applications to another user, organization or team

 -a, --app APP       # app to run command against
 -l, --locked        # lock the app upon transfer
 -r, --remote REMOTE # git remote of app to run command against
 --bulk              # transfer applications in bulk

Examples:

  $ heroku apps:transfer collaborator@example.com
  Transferring example to collaborator@example.com... done

  $ heroku apps:transfer acme-widgets
  Transferring example to acme-widgets... done

  $ heroku apps:transfer --bulk acme-widgets
  ...
neilmiddleton commented 7 years ago

I see something similar to clients:

$ heroku apps:transfers
app_name                     <uuid>
app_name                     <uuid>
app_name                     <uuid>

$ heroku app:transfer:revoke <uuid>
Transfer request revoked...done