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.
info
The auth
query parameter is your private key. You can find it in your Dashboard under Developer -> Private Key.
Validate Access Token | description | |
---|---|---|
Parameters | ||
Query | ||
auth | string | Go to Dashboard -> Developer -> Private Key is your auth |
Body | ||
accessToken | string | accessToken of the user you wish to invalidate. |
Responses
200
JSON
{
success: true
}
400
JSON
{
"message": "invalid accessToken"
}