post https://api-smartflo.tatateleservices.com/v1/auth/logout
This API allows you to terminate an authetication token.
Terminating a Token
This operation is used to invalidate or revoke an active access token. Once terminated, the token becomes invalid and can no longer be used to access any API endpoints.
curl --request POST \
--url https://api-smartflo.tatateleservices.com/v1/auth/logout
--header 'Accept: application/json' \
--header 'Authorization: yourtokengoeshere'
Success Respone
{
"success": true,
"message": "Successfully logged out"
}
Failed Respone
{
"success": false,
"message": "Deleted or blacklisted token provided"
}