什么是 GitHub / GitLab 撤销令牌 URL

问题描述 投票:0回答:0

试图找到 GitHub / GitLab URL 来撤销令牌。我看过:https://docs.github.com/en/rest/apps/oauth-applications?apiVersion=2022-11-28#delete-an-app-token,但没有似乎在工作。

我正在通过 Postman POST 请求访问它并将其发送为:https://api.github.com/applications/{client_id}/token?access_token={access_token} 但不断收到

  "documentation_url": "https://docs.github.com/rest"
错误.也尝试过
/grant
和只是
token
.

与 GitLab 相同,我正在向 https://gitlab.com/oauth/token/revoke?token={access_token} 发送请求,但找不到页面。

github gitlab postman access-token revoke-token
© www.soinside.com 2019 - 2024. All rights reserved.