Deactivate the user auth token

This API allows the super admin to deactivate or deny access to a user for accessing the APIs. The input should be the user’s namespace auth token for which access should be denied.
METHOD: PUT
ROUTE: /super-admin/namespace/auth-token/deactivate
Headers:
{
“Authorization”: “Bearer <MASTER_API_KEY>”
}
Request format:

{
"data": {
"auth_token":" eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c"
}
}

Response structure:

{
"data": {
"message": "Given Auth token deactivated successfully."
},
"success": "true",
"error": {
"message": ""
}
}

 

Updated on October 30, 2025
What are your feelings

© All Rights Reserved 2023 | Protecto