提交工单
咨询集成、功能及报价等问题
Call end_teaching
to end a class, which will log all members out of the current classroom and then immediately destroy the classroom.
API call frequency limit: 10 times/second.
POST
/edu_room/end_teaching
application/json
Parameter | Type | Mandatory | Example | Description |
---|---|---|---|---|
room_id | String | Yes | "123456" | Room ID of the classroom, a string with a maximum of 9 characters and contains only digits. |
uid | Int64 | Yes | 171171717 | User ID. |
room_type | Int32 | No | 2 | Room type. Valid values :
|
{
"uid":171171717,
"room_id":"123456"
}
None.
{
"ret": {
"code": 0,
"message": "succeed"
}
}
Return Code | Description |
---|---|
10003 | The user does not have the authority to end the class. |
10005 | Please log in to the classroom first. |
10006 | The classroom does not exist. |