First, sorry for my bad english.
Description
I cant disassociate a pending user using the API.
Error
"code": 1001, "message": "User does not exist: XXXXXXX"
Which App Type (OAuth / Chatbot / JWT / Webhook)?
JWT
Which Endpoint/s?
delete /users/{userId}
Request made taken from App Marketplace
{
“endpoint”: “https://api.zoom.us/v2/users/XXXXXX”,
“response_headers”: [
“Set-Cookie: zm_aid=’’; Domain=.zoom .us; Expires=Thu, 01-Jan-1970 00:00:10 GMT; Path=/; Secure; HttpOnly”
],
“date_time”: “2021-03-17 16:59:11”,
“method”: “DELETE”,
“request_body”: “N/A”,
“response”: {
“code”: 1001,
“message”: “User does not exist: XXXXXX”
},
“request_headers”: [
“authorization: ******”,
“connection: close”,
“content-type: application/json”,
“user-agent: GuzzleHttp/7”
],
“request_params”: [
“action: disassociate”
],
“http_status”: “404”
}
Additional context
If the user is active, we can disassociate without problems.
Thanks a lot.