3
2

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 3 years have passed since last update.

SalesforceのCLIに登録した組織情報をリストから消したい

Last updated at Posted at 2020-11-07

有効期限が過ぎたものをsfdxのリストから消したいときに打つコマンドです。
以下でsfdx force:org:listから消すことができます。

sfdx force:auth:logout -u ALIAS

以下の例でHOGEHOGEを消したいときは、sfdx force:auth:logout -u HOGEHOGEで消えてくれるはずです。

ALIAS USERNAME ORG ID CONNECTED STATUS
(D) TEST test@test.test XXXXXXXXXXXXXXXXXX Connected
HOGEHOGE hogehoge@hogehoge.com XXXXXXXXXXXXXXXXXX RefreshTokenAuthError
PIYOPIYO piyopiyo@piyopiyo.piyopiyo XXXXXXXXXXXXXXXXXX RefreshTokenAuthError

実用的なコマンドはまとまっている印象ですが、
回数は少ないですが、こういうお掃除系のコマンドも欲しい場面ありますね。

3
2
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
3
2

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?