Get meeting authorization
POST /server/v1/user-auth/grant
Authentication: required (see Overview)
Get a grant
Request parameters
Request example:
Log out a user
POST /server/v1/user-auth/kickout
Authentication: required (see Overview)
Invalidate the user’s login session (the session obtained with meet_token) immediately; the next API call requires a new grant.
Note that this endpoint does not remove the user from an ongoing meeting. The logged-out user stays in the meeting
until the heartbeat times out (the reason of the user_exit callback is 4).
To remove someone from the meeting immediately, use “Remove a member” in In-meeting controls.
- Without device_type: the user is logged out on all devices
- With device_type: only that device is logged out; other devices are not affected
- An error is returned if the user currently has no valid login session
Log out only this device type. 0: unknown, 1: Windows, 2: Android, 3: iOS, 4: Linux, 5: macOS, 6: WebRTC, 7: WeChat Mini Program, 8: HarmonyOS. If omitted, the user is logged out on all devices
Example:
3data is null
Response example: