Invalidate Access Token
https://api.deadsimplechat.com/consumer/api/v1/user/accesstoken/invalidate
Invalidate Access Token​
This endpoint lets you in-validate the accessToken. Once the accessToken is invalidated the user can no longer use the accessToken to login. If there are any users would have used this token to login will be automatically logged-out.
Validate Access Token | description | |
---|---|---|
Parameters | ||
Query | ||
auth | string | Your account private key |
Body | ||
accessToken | string | accessToken of the user you wish to invalidate. |
Responses​
200
JSON
{
success: true
}
400
JSON
{
"message": "invalid accessToken"
}