Revokes a refresh token.
POST
/auth/revokeThis 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
client_id
string
必需
The client's ID, "public" for general use.
client_secret
string
可选
The client's secret. Optional.
token
string
必需
The user's refresh token.
示例代码
返回响应
Returns an empty json object.(200)
When any of the parameters is missing.(400)
When any of the client credentials is invalid.(401)
Returns an empty json object.
HTTP 状态码: 200
内容格式: JSONapplication/json
数据结构
object {0}
示例
{}
修改于 1 个月前