Update Group
This API can be used to update an existing access group in the academy.
URL : https://academy.domain.com/api/v2/group/update
Method : POST
Request Header : {
"Content-Type" : "application/json",
"API-Key" : "Your API Key"
}
Request Body : {
"id" : 4 // Required
"name" : "Test Group 1 Updated", // Required
"active" : true, // Required
"default" : false, // Required
"ref_id" : null // Optional
}
Response : {
"status": "success",
"message": "Group updated successfully",
"data": {
"id": 4,
"name": "Test Group 1 Updated",
"status": "active",
"default": "no",
"ref_id": null
}
}