Update Groups of User
This API can be used to update / replace access groups of academy user.
URL : https://academy.domain.com/api/v2/user-group/update
Method : POST
Request Header : {
"Content-Type" : "application/json",
"API-Key" : "Your API Key"
}
Request Body : {
"email" : "User's email", // Required
"groups" : [ group id 1, group id 2, ...], // Required
}
Response : {
"status": "success",
"message": "Groups updated successfully",
}