Browse Platform API
Platform APIEnterprise

Leave a meeting

Copy

Make a specified participant leave the current meeting without ending the meeting for everyone else.

HTTP request

POST {API_ADDRESS}/rtc-meeting/leave_meeting

Request 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

ParameterRequiredTypeDescription
meetingIDYesstringMeeting ID.
userIDYesstringParticipant 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.