This is one of the only two endpoints where fields are named in snake case, both in the request and in the response. It's also one that responds without following the PhiZoneApi.Dtos.Responses.ResponseDto`1 structure. Refer to RFC 6749 for further information.
请求参数
Body 参数application/x-www-form-urlencoded
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl--location--request POST 'https://api.phizone.cn/auth/revoke' \
--data-urlencode'client_id=' \
--data-urlencode'token='
返回响应
🟢200Returns an empty json object.
application/json
Body
示例
{}
🟠400When any of the parameters is missing.
🟠401When any of the client credentials is invalid.