#mpjhorner-delete accounts

1 messages ยท Page 1 of 1 (latest)

signal wigeon
#

๐Ÿ‘‹ happy to help

#

I'm not sure if you can delete live accounts from the CLI tbh

verbal pecan
#

sec

#

req_dqLSReYmyjhqKn

signal wigeon
#

I'm a bit confused, what account are you logged into on the CLI?

verbal pecan
#

the application account of that connect account

#

Any command on the CLI I can use to verify the account I am logged into?

signal wigeon
verbal pecan
#

I can do that using CLI?

signal wigeon
#

could you please try stripe open dashboard --live? this will open the browser for you

verbal pecan
#

I just used --live

signal wigeon
#

to the dashboard page

#

and it will give you which account you're logged into

verbal pecan
#

sec

signal wigeon
#

tyt

verbal pecan
#

acct_18a2U1A2FKrvuuQV

signal wigeon
#

ok I see that the request you sent earlier was authenticated with the same account id you're trying to delete

verbal pecan
#

No

signal wigeon
#

I would suggest to stripe logout

verbal pecan
#

the account I was trying to delete ended 8922

signal wigeon
#

I'm aware of that

verbal pecan
#

logged out

#

what now?

signal wigeon
#

could you try to login back with your API secret key?

verbal pecan
#

sec

#

when I pass --api-key

#

on login

#

It still asks me for pairing code and to visit website, which makes a new API key..?

#

(ps just updated cli via brew also)

#

dw

#

imma just use curl

#

It's working fine.

signal wigeon
#

sorry I had to step away for a minute

verbal pecan
#

All good, i think something is up with CLI for that one though. It seems as if all the key the login was creating for me where connect keys which seems to make me not be able to use that?

signal wigeon
#

I'm not sure, I will try to test that out later and if there's an issue I'll bring it up to the internal team

verbal pecan
#

Appreciate it, thanks.
Just for clarity.
The workflow is;

  1. stripe login (via gui)
  2. stripe accounts delete acct_xxx --live is not allowed.
signal wigeon
#

it seems that the requests are quite the same, the only difference is that one came from curl and the other from Stripe CLI

#

it's really odd, maybe it's just that CLI won't allow deletes on live

#

let me double check that