@uchechinedu01 that’s great! Regarding redeployment, it looks like you’ve left out the active
attribute. I’m also not sure why you’re sending the version_id
in the files
dict — try something like this rather:
deployment_data = {
'version_id': version_to_deploy,
'active': True
}
response = requests.patch(asset_url + 'deployment/', headers=headers, data=deployment_data)