Platform APIEnterprise
Leave a meeting
Make a specified participant leave the current meeting without ending the meeting for everyone else.
HTTP request
POST {API_ADDRESS}/rtc-meeting/leave_meetingRequest example
curl --request POST "${API_ADDRESS}/rtc-meeting/leave_meeting" --header "Content-Type: application/json" --header "operationID: ${OPERATION_ID}" --header "token: ${TOKEN}" --data-raw '{"meetingID":"meeting_001","userID":"user_002"}'Request body
| Parameter | Required | Type | Description |
|---|---|---|---|
| meetingID | Yes | string | Meeting ID. |
| userID | Yes | string | Participant leaving the meeting. |
Response
The common response has errCode: 0 when the participant state was updated.
Errors
See Error codes.
Permissions and limits
- Available only in OpenIM Enterprise.
- This operation does not end or cancel the meeting.
Related pages
Was this page helpful?