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