Groups
Edit a group
Changed on🔑
Required OAuth scope: groups:write.
Edits specific fields of an existing group. Fields not included in the request payload remain unchanged.
patch/api/v2/groups/{groupId}
Request
- Base URLhttps://app.360learning.com
- URLhttps://app.360learning.com/api/v2/groups/{groupId}
- AuthOAuth 2Client credentialsToken URL: /api/v2/oauth2/token
Path parameters
groupIdstring ObjectId required
Example:507f1f77bcf86cd799439011
The unique ID of the group.
Headers
360-api-version'v2.0' required
The version of the API.
Request body
Example request
{
"custom": "Unit 102",
"name": "Marketing Team",
"parentId": "507f1f77bcf86cd799439011",
"bannerImageId": "507f1f77bcf86cd799439011",
"backgroundImageId": "507f1f77bcf86cd799439011",
"faviconImageId": "507f1f77bcf86cd799439011",
"logoImageId": "507f1f77bcf86cd799439011",
"privacyPolicy": {
"url": "https://example.com/policy"
},
"moderationCharter": {
"url": "https://example.com/policy"
},
"termsOfUse": {
"url": "https://example.com/policy"
},
"imprint": {
"url": "https://example.com/policy"
}
}Response
Returns the updated group.
Example response
{
"privacyPolicy": {
"url": "https://example.com/policy"
},
"moderationCharter": {
"url": "https://example.com/policy"
},
"termsOfUse": {
"url": "https://example.com/policy"
},
"imprint": {
"url": "https://example.com/policy"
},
"bannerImageId": "507f1f77bcf86cd799439011",
"backgroundImageId": "507f1f77bcf86cd799439011",
"faviconImageId": "507f1f77bcf86cd799439011",
"logoImageId": "507f1f77bcf86cd799439011",
"subdomain": "company-subdomain",
"url": "company-domain.com",
"_id": "507f1f77bcf86cd799439011",
"name": "Engineering Team",
"custom": "Unit 101",
"parentId": "507f1f77bcf86cd799439011"
}Changes
- breaking
added
subschema #1: Custom Url Dns Not Configuredto the response bodyoneOflist for the response status
- breaking