Hi @benmcramer,
The TestMe console, as its name implies, is meant for testing API operations:)
For tasks like this, you should use one of our API clients and write a script that makes the needed requests.
Please find a list of supported clients here:
https://developer.kaltura.com/api-docs/Client_Libraries
In the API console, when selecting a service->action pair, you will also be able to generate the code for the client of your choice. That can expedite the development process considerably.