v1
latestOpenAPI 3.1.02026-08-04164270844.7 KBClassrooms
Edit a classroom
🔑
Required OAuth scope: classrooms:write.
Edits specific fields of an existing classroom. Fields not included in the request payload remain unchanged.
patch/api/v2/classrooms/{classroomId}
Path parameters
classroomIdstring ObjectId required
Example:507f1f77bcf86cd799439011
The unique ID of the classroom.
Headers
360-api-version'v2.0' required
The version of the API.
Request body
Example request
{
"name": "Security Conference",
"mediaIds": [
"507f1f77bcf86cd799439011"
],
"message": "Be sure to have read all the attachments before the conference.",
"trainingObjective": "Learn the security rules of the company."
}Response
Returns the updated classroom.
Example response
{
"groupId": "507f1f77bcf86cd799439011",
"_id": "507f1f77bcf86cd799439011",
"name": "Security Conference",
"mediaIds": [
"507f1f77bcf86cd799439011"
],
"message": "Be sure to have read all the attachments before the conference.",
"trainingObjective": "Learn the security rules of the company."
}