/auth.revoke
GET
/auth.revokeRevokes a token.
Request
Query Params
token
string
required
Authentication token. Requires scope: none
test
string
optional
Setting this parameter to 1
triggers a testing mode where the specified token will not actually be revoked.
Request samples
Responses
Typical success response(200)
Typical error response(500)
Typical success response
HTTP Code: 200
Content Type : JSONapplication/json
Data Schema
ok
#/definitions/700149required
revoked
boolean
required
Exampleresponse
{
"ok": true,
"revoked": true
}
Last modified: a year ago