Method: tokens.delete
HTTP 请求
DELETE https://admin.googleapis.com/admin/directory/v1/users/{userKey}/tokens/{clientId}
网址采用 gRPC 转码语法。
路径参数
参数 |
userKey |
string
标识 API 请求中的用户。该值可以是用户的主电子邮件地址、别名电子邮件地址或唯一身份用户 ID。
|
clientId |
string
接收令牌的应用的客户端 ID。
|
响应正文
如果成功,则响应为通用 HTTP 响应,其格式由方法定义。
授权范围
需要以下 OAuth 作用域:
https://www.googleapis.com/auth/admin.directory.user.security
有关详情,请参阅授权指南。
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2024-08-29。
[null,null,["最后更新时间 (UTC):2024-08-29。"],[[["This operation deletes all access tokens issued to an application by a specific user."],["It requires the `https://www.googleapis.com/auth/admin.directory.user.security` OAuth scope for authorization."],["The request is made via `DELETE` to the specified URL, including the user's key and the client ID of the application."],["The request body should be empty and a successful response will be a standard HTTP response for the method."]]],[]]