OK
const response = await fetch('//api/groups/{groupId}', { method: 'DELETE', headers: {}, }); const data = await response.json();
{ "message": "text", "data": false, "success": false }
const response = await fetch('//api/groups', { method: 'POST', headers: { "Content-Type": "application/json" }, body: JSON.stringify({ "name": "text" }), }); const data = await response.json();
{ "message": "text", "data": { "groupId": "text", "groupName": "text", "allUsersGroup": false, "visitorRole": "text", "dynamicRule": "text", "devGroup": false, "syncGroup": false, "syncDelete": false }, "success": false }