Update the source access of a media by ID
This endpoint allows you to update the sourceAccess setting of an existing media file. The sourceAccess parameter determines whether the original media file is accessible or restricted. Setting this to true enables access to the media source, while setting it to false restricts access.
How it works
-
Make a
PATCHrequest to this endpoint, replacing{mediaId}with the ID of the media you want to update. -
Include the updated
sourceAccessparameter in the request body. -
You receive a response confirming the update to the media’s source access status.
-
Webhook events: video.media.source.ready, video.media.source.deleted
Authentication
FastPix APIs are secured with Basic Authentication. Use your Access Token ID as the username and Secret Key as the password in the Authorization header of each API request.
- Username: Access Token ID
- Password: Secret Key
Activate your FastPix account to generate your API credentials. See the guide here