1
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

Api ログアウト(アクセストークンを無効化)

Last updated at Posted at 2024-10-29

Apiでログイン後、ログアウトすることはできるか。

ログアウトというAPIがないため、別の方法を使うしかない。
それが「アクセストークンを無効化」

Postmanでアクセストークンを無効化

プログラムによる OAuth トークンの取り消し

image.png

image.png

# 項目
1 headers Content-Type=application/x-www-form-urlencoded
2 body token={AccessToken}
3 URL https://{DomainName}.my.salesforce.com/services/oauth2/revoke
4 method POST

参考:
接続アプリケーションを使う場合は、Body部が変わる
https://qiita.com/manabian/items/3afc5701b2b027b1592c

1
0
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
1
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?