End a Meeting
End a meeting.
Request URL
POST {base_url}/services/openapi/v1.0/room/end
Request parameters
Body parameters
Parameter | Required | Type | Description |
---|---|---|---|
meetingId | Yes | String | The ID of the meeting to be ended. Note: You can query the
meeting ID using the Query Multiple Meetings
interface.
|
memberId | Yes | Long | The member ID of the user that has the permission to end a meeting. Note: You can query the user's member ID
using the Query Multiple Users
interface.
|
Response parameters
Parameter | Type | Description |
---|---|---|
status | String | The result of the request.
|
requestId | String | The ID of the request, which can be used to quickly locate the request. |
Example
Request example
End a meeting (ID:
WzEsNzM5NTgsMjMxNzUsMTY5MDE4MDUwMCwwXQ
).POST /services/openapi/v1.0/room/end HTTP/1.1
Host: workplace.yeastar.com
Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJncmFudF90eXBlIjoiY2xpZW50X2NyZWRlbnRpYWxzIiwic2NvcGUiOlsiL29wZW5hcGkvIl0sImVudGVycHJpc2VfaWQiOjEwMDQzMywicmVnaW9uIjoiR0wiLCJhdXRob3JpdGllcyI6WyJST0xFX0NMSUVOVCJdLCJqdGkiOiJiZTc0ZGY0OS1hNjdmLTQ2NzMtYTkzMi1iMzY3YWY4NDM5ZjYiLCJjbGllbnRfaWQiOiI3OTU2OGFhMC0wYjBkLTQyZjYtOGRiNC03OWExNmQ3MzQ3MmEiLCJ0cyI6MTY5MDE4MTA0NCwiZXhwX2luIjo4NjQwMH0.jEj9xU4KGu4phUKaIX1WLX_aW6ycjcU-iJV1_9b73QU
Content-Type: application/json
{
"memberId": 466,
"meetingId": "WzEsNzM5NTgsMjMxNzUsMTY5MDE4MDUwMCwwXQ"
}
Response
exampleHTTP/1.1 200 OK
{
"status": "Success",
"requestId": "a08e45a0cdac6993f5e339b2e57be27e"
}