An account owner or admins can deactivate as well as activate a user in a Zoom account. Deactivating a user will remove all licenses associated with a user. It will prevent the deactivated user from logging into their Zoom account. A deactivated user can be reactivated. Reactivating a user grants the user access to login to their Zoom account. Use this API to either deactivate an active user or to reactivate a deactivated user .
curl--location--request PUT 'http://api.zoom.us/v2/users//status' \
--form'action=""'
响应示例响应示例
200 - 示例 1
{}
请求参数
Path 参数
Body 参数multipart/form-data
返回响应
🟢200成功
application/json
Body
🟢204**HTTP Status Code:** `204`<br>
Status updated.
🟠400**HTTP Status Code:** `400` **Bad Request**<br><br>
**Error Code:** `200`<br>
Zoom Room and Admin users' status can not be activated or deactivated.<br><br>
**Error Code:** `3412`<br>Your request to activate the user was not approved at this time because
🟠404**HTTP Status Code:** `404` **Not Found**<br><br>
**Error Code:** `1001`<br>
User does not exist: $userId.