Update a media by ID

This endpoint allows you to update specific parameters of an existing media file. You can modify the key-value pairs of the metadata that were provided in the payload during the creation of media from a URL or when uploading the media directly from device.

How it works

  1. Make a PATCH request to this endpoint. Replace <mediaId> with the unique ID (uploadId or id) of the media you received after uploading to FastPix

  2. Include the updated parameters in the request body.

  3. The response returns the updated media data, confirming the changes.

  4. Monitor the video.media.updated webhook event to track the update status in your system.

Example

If a user uploads a video and later needs to change the title, add a new description, or update tags, you can use this endpoint to update the media metadata without re-uploading the entire video.

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
metadata
object
string
length ≤ 255
Defaults to My Video Title

Title of the media file.

string
length ≤ 255
Defaults to 8fa85f64-5717-4562-b3fc-2c963f66afa6

The unique identifier of the user who created this media.

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