cURL
curl --request POST \ --url https://psn-api.paystub.dev/auth/logout \ --header 'Authorization: Bearer <token>'
{ "success": true, "data": {}, "message": "Successfully logged out" }
Revoke the current access token
Use your API token
Successfully logged out
true
"Successfully logged out"