CommunityGroups
Update CommunityGroup
Update an existing CommunityGroup record.
PUT
Update CommunityGroup
Updates an existing CommunityGroup record. You must include the
Id of the record to update along with all required fields.
Authentication
This endpoint requires OAuth2 authentication. Include a valid bearer token in the
Authorization header.
The authenticated user must be a full unrestricted administrator or have the CommunityGroup-Edit role.Enums
eCommunityThreadVisibility — GroupAccess values
eCommunityThreadVisibility — GroupAccess values
Request Body
Required Fields
integer
required
The Id of the CommunityGroup record to update.
integer
required
ID of the location this community group belongs to.
integer
required
ID of the user account that administers this group; the administrator can always view and post in it.
string
required
Required display name of the community group.
integer
required
Access level for conversations assigned to this group: Restricted (1) lets all customers view but only the administrator and members post; Public (2) lets all customers view and post; Private (3) lets only the administrator and members view and post.
Optional Fields
string
Optional description of the community group’s purpose shown to customers.
integer[]
List of user IDs whose customers are group members; they can post in Restricted groups and view and post in Private groups, while the administrator always has access.
integer[]
IDs added to the Members relationship..
integer[]
IDs removed from the Members relationship..
string
Internal GUID linking this automatically maintained group to its Team; change Team.HasCommunityGroup instead.
string
Internal GUID linking this automatically maintained group to its Course; change Course.HasCommunityGroup instead.
Code Examples
Response
200
integer
HTTP status code.
200 on success.string
A human-readable message confirming the update.
object
Contains the
Id of the updated record.boolean
true if the communitygroup was updated successfully.array
null on success.Example Response
400
string
A summary of the validation error(s), in the format
PropertyName: error message.any
null on validation failure.object[]
Array of validation errors.
boolean
false when the request fails validation.Example Response