Deleting or Disassociating a User and transferring the Cloud Recording is not working

Description
Deleting or Disassociating a User and transferring the Cloud Recording is not working.

Error
We are successfully able to delete or disassociate a user, but are not able to transfer the cloud recording to another Zoom User

Which App Type (OAuth / Chatbot / JWT / Webhook)?
JWT

Which Endpoint/s?

Here is the python code

from dotenv import load_dotenv, find_dotenv
from time import time
import json
import jwt
import requests
import os

load_dotenv(find_dotenv())

def generate_token():
    token = jwt.encode(
        # Create a payload of the token containing API Key & exp time
        {"iss": os.getenv('api_key'), "exp": time() + 5000},
        # Secret used to generate token signature
        os.getenv('api_secret'),
        # Specify the hashing alg
        algorithm="HS256"
        # Converts token to utf-8
    ).decode("utf-8")

    return token

jwt_token = generate_token()

print(jwt_token)
print(time() + 5000)

headers = {
'authorization': f"Bearer {jwt_token}",
'content-type': "application/json"
}

payload = {
  'action': 'disassociate',
  'transfer_recording': 'true',
  'transfer_email': 'test@test.com',
  'transfer_meeting': 'true'
}

# Request url for creating a new meeting
request = requests.delete("https://api.zoom.us/v2/users/4XNjyQib2OKy7TjHVV17vQ", headers=headers, params=payload)

print(request.url)

print(request.status_code)

With this code, I am able to delete or disassociate a Zoom User from the Account and get a 204. But the Cloud Recordings are not transferred to the transfer_email.

I am also tried this in the Zoom Sandbox:


I am able to delete or disassociate the Zoom User but not transfer the Cloud recordings.

Hey @besteman,

Is the user you are setting for the transfer_email value a user in your Zoom account?

Thanks,
Tommy

@tommy

Yes, we have tried multiple users to test it.

Hey @besteman,

Can you please email your full request url and request body to developersupport@zoom.us so we can debug further?

Thanks,
Tommy

@tommy
I have done this and they have confirmed that it is bug on Zoom’s side.

1 Like

Thanks for the update @besteman!

We will fix the bug as soon as we can.

-Tommy