I want o modify video properties such as video name, requireSignedURLs in Cloudflare API. So that, does Cloudflare API support it?
1 Like
Yes you can do this!
Just make a POST request to https://api.cloudflare.com/client/v4/accounts/ACCOUNTID/stream/VIDEOID
with the updated video JSON object
Example request to change the name of the video would look like this:
curl 'https://api.cloudflare.com/client/v4/accounts/8846293bd06d1af8c106d89ec1454fe6/stream/add691affd0676c565a65eb07733ff15' -H 'Authorization: Bearer YOUR KEY' '{"meta":{"name":"new name"}}'
2 Likes
Great, it worked fine, many thanks!
1 Like
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.