update
- Home
- Users & Groups
- Group
- update
update
Updates a group’s information with specified paramaters
Parameters
Name | Description |
group_id required | Group ID |
user_id required | Owner ID |
display_name optional | Display Name |
join_method optional | Join Method |
forum_access optional | Forum Access |
desc_full optional | Full Description |
desc_small optional | Brief Description |
group_access optional | Group Access |
allow_member_content_association optional | Allow Member Content Association |
Request Syntax
https://services.onesite.com/1/group/update.json?group_id=1000811&user_id=229928503&display_name=New Display Name!&join_method=screen&forum_access=outside_read&desc_full=This is the new full description after being updated.&desc_small=New brief description.&group_access=semi-private&allow_member_content_association=moderators&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 30 |
{ "code": 100, "message": "Your group has been updated successfully.", "content": { "group": { "GroupID": 1000811, "BlogID": "234714453", "Node": "188234", "Owner": 229928503, "Name": "developers", "Domain": "onesitedemo.com", "Subdir": "developers", "DisplayName": "New Display Name!", "DescFull": "This is the new full description after being updated.", "DescSmall": "New brief description.", "JoinMethod": "screen", "ForumAccess": "outside_read", "Featured": 0, "DateAdded": "1547860875", "GroupAccess": "private", "AllowMemberContentAssociation": "moderators", "MasterCategory": "16561", "CategoryID": "16561", "CategoryName": "Test 1", "Status": "active", "MemberCount": 0, "DateUpdated": "2019-02-19 12:30:54" } } } |
Service Information
Service | group |
Method | update |
Type | REST |
Response Types | JSON, XML |