Update User Status
This API can be used to activate or deactivate a user.
URL : https://academy.domain.com/api/v2/user/update/status
Method : POST
Request Header : {
"Content-Type" : "application/json",
"API-Key" : "Your API Key"
}
Request Body : {
"email" : "User's email", // Required
"is_active" : true, // Required
}
Response : {
"status": "success",
"message": "User status changed successfully"
}