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

  1. Make a PATCH request to this endpoint, replacing {mediaId} with the ID of the media you want to update.

  2. Include the updated sourceAccess parameter in the request body.

  3. You receive a response confirming the update to the media’s source access status.

  4. Webhook events: video.media.source.ready, video.media.source.deleted

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
uuid
required

The unique identifier assigned to the media when created. The value must be a valid UUID.

Body Params
boolean
required

The sourceAccess parameter determines whether the original media file is accessible. Set to true to enable access or false to restrict it.

Responses

Language
Credentials
Basic
base64
:
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json