Skip to main content

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 Tokendescription
Parameters
Query
authstringGo to Dashboard -> Developer -> Private Key is your auth
Body
accessTokenstringaccessToken of the user you wish to invalidate.

Responses

200

JSON
{
success: true
}

400

JSON
{
"message": "invalid accessToken"
}