curl --request PATCH \ --url 'https://YOURSITE.konstant.ly/openapi/v1/groups/123' \ --header 'X-API-KEY: 1qaz2wsx3edc4rfv1qaz2wsx3edc4rfv' \ --header 'Content-Type: application/json' \ --data '{ "name": "Updated Sales Team", "description": "Updated description", "attributes": { "region": "North", "department": "Sales" } }'
{ "id": 123, "parentId": 1, "name": "Updated Sales Team", "usersCount": 10, "coursesCount": 5, "description": "Updated description", "attributes": { "region": "North", "department": "Sales" }, "image": { "id": 1234, "original": "http://example.com/images/original/1234.jpg", "mini": "http://example.com/images/mini/1234.jpg", "small": "http://example.com/images/small/1234.jpg" } }
Update the group information
null
Show Error object properties
Was this page helpful?