delete
- Home
- Users & Groups
- Group
- delete
delete
Deactivates the specified group.
Parameters
Name | Description |
group_id required | Group ID |
user_id required | Owner ID |
Request Syntax
https://services.onesite.com/1/group/delete.json?group_id=1000817&user_id=229928503&devkey=[devkey] |
JSON Response
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 |
{ "code":100, "message":"Group deleted successfully.", "content":{ "group":{ "GroupID":1000817, "BlogID":"234768045", "Node":"188234", "Owner":229928503, "Name":"Fans", "Domain":"onesitedemo.com", "Subdir":"demofans1646319777", "DisplayName":"The Fans", "DescFull":"A group for demo fans.", "DescSmall":"Welcome to The Fans Group!", "JoinMethod":"open", "ForumAccess":"outside_post", "Featured":0, "DateAdded":"1550598865", "GroupAccess":"public", "AllowMemberContentAssociation":"allow", "MasterCategory":"0", "CategoryID":"0", "Status":"active", "MemberCount":1, "DateUpdated":"2019-02-19 11:54:25" } } } |
Service Information
Service | group |
Method | delete |
Type | REST |
Response Types | JSON, XML |