Cancel ongoing upload

This endpoint allows you to cancel ongoing upload by its uploadId. Once cancelled, the upload will be marked as cancelled. Use this if a user aborts an upload or if you want to programmatically stop an in-progress upload.

How it works

  1. Make a PUT request to this endpoint, replacing {uploadId} with the unique upload ID received after starting the upload.
  2. The response will confirm the cancellation and provide the status of the upload.

Webhook Events

Once the upload is cancelled, you will receive the webhook event video.media.upload.cancelled.

Example

Suppose a user starts uploading a large video file but decides to cancel before completion. By calling this API, you can immediately stop the upload and free up resources.

Language
Credentials
Basic
base64
:
Click Try It! to start a request and see the response here!