Cancel a direct upload
PUT {{baseUrl}}/video/v1/uploads/:UPLOAD_ID/cancel
Cancels a direct upload and marks it as cancelled. If a pending upload finishes after this
request, no asset will be created. This request will only succeed if the upload is still in
the waiting
state.
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Accept | string |
RESPONSES
status: OK
{"data":{"timeout":3600,"status":"cancelled","new_asset_settings":{"playback_policies":["public"],"encoding_tier":"baseline","mp4_support":"capped-1080p"},"id":"zd01Pe2bNpYhxbrwYABgFE01twZdtv4M00kts2i02GhbGjc","cors_origin":"https://example.com/"}}