Description: This API wil use to update the specific user in Quicker Learning.
URL:- https://apps.quickerlearning.com.com/api/user/update
Method: POST
AUTHORIZATION:
Type: Basic Auth
UserName: tenant_id,
Password:secret_key
HEADERS:
Accept: application/json
Response Body:
{
“message”: “User Updated Successfully”,
“status”: 200
}
Note:
• Pass 0 for Active or 1 for Inactive on “Status” field.
• Nothing will be updated for users with the SuperAdmin role. And no other user’s role will be changed to SuperAdmin.
• We can only change the Admin role for a user who already has the Admin or AdminStudent role.
• We can only change the AdminStudent role for a user who already has the Admin role.
• We can’t change the courseleader role for any users.
• We can’t change the AdminSalesManager role for any users.
Other Response Body:
{
“message”: “You can’t change or update the SuperAdmin”,
“status”: 500
}
{
“message”: “You can’t change the Admin for this user”,
“status”: 500
}
{
“message”: “You can’t change the AdminStudent for this user”,
“status”: 500
}
{
“message”: “You can’t change the Courseleader for this user”,
“status”: 500
}
{
“message”: “You can’t change the AdminSalesManager for this user”,
“status”: 500
}
