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 group belongs to.
integer
required
ID of the user account designated as the group administrator.
string
required
Display name of the group.
integer
required
Access level controlling who can see and post in this group’s conversations: Restricted (1) = all customers can see but only members post; Public (2) = all customers can see and post; Private (3) = members only.
Optional Fields
string
Short description of the group’s purpose shown to customers.
integer[]
IDs of customers who are members of this group.
integer[]
Customer IDs to add as members (used in partial updates).
integer[]
Customer IDs to remove as members (used in partial updates).
string
GUID of the Team this group was created for. Set when the group was auto-generated because
Team.HasCommunityGroup is true.string
GUID of the Course this group was created for. Set when the group was auto-generated because
Course.HasCommunityGroup is true.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
Update CommunityGroup