Deleting Content from CDN Object Storage

Media Ingest and CDN Object Storage underwent end-of-life on 11/12/2018. Content may no longer be streamed via Media Ingest and content uploaded by your encoder to CDN Object Storage is no longer available. This article is still available in order to provide assistance while you migrate to a new streaming workflow.

Content may be deleted from CDN Object Storage by either:

Deleting a Bucket

Deleting a bucket will:

The deletion of a bucket is permanent and will immediately prevent the playback of its contents.

To delete a bucket

  1. Navigate to the Object Storage page.
  2. Make sure that the correct location (e.g., TEB) has been selected on the left-hand side of the window.
  3. Find the desired bucket and then click the icon that appears directly to the right of it.
  4. Confirm the deletion of the bucket by clicking Delete.

Delete Multiple Assets

A bucket's assets may be deleted in bulk from the Object Storage page.

Key information:

Deleting an Asset

Any asset stored in CDN Object Storage may be deleted by issuing a HTTP DELETE request.

The deletion of an asset takes effect immediately and cannot be undone.

Only a single asset may be deleted per DELETE request. Delete a bucket to also delete all of its contents.

Issue a DELETE request by performing the following steps:

  1. Retrieve a listing of a bucket's content.
  2. Find the desired asset's Contents tag.

  3. Construct the URL to be deleted by appending the value defined in the Key tag to the desired bucket's base URL.

    Sample key value:

    <Key>HLS/bigbuckAtttSeg9-Frag70</Key>

    Sample URL:

    https://stream.mydomain.com/0001-mybucket/HLS/bigbuckAtttSeg9-Frag70
  4. Submit a DELETE request with an Authorization header that contains valid authentication data.

    Authorization Header Example:

    Authorization: Basic MjA1OEdFV0VTWEwxSVMxS0kzR0M6dVp1dE5YS0RYRGE2bWhwTGRYMm5GNHBkNEFzc0ovSW1vOFk4OEpMSw==

    Learn more.

Sample HTTP DELETE Request

The purpose of this scenario is to show how to issue a DELETE request via CURL. This scenario assumes the following setup:

Component Description

Content URL

https://stream.mydomain.com/0001-mybucket/marketing/widgets/conferenceAtttSeg9-Frag72

Access Key

2058GEWESXL1IS1KI3GC

Secret Key

uZutNXKDXDa6mhpLdX2nF4pd4AssJ/Imo8Y88JLK

To delete content via CURL

  1. Apply Base64-encoding to the access and secret key pair.

    Original value:

    2058GEWESXL1IS1KI3GC:uZutNXKDXDa6mhpLdX2nF4pd4AssJ/Imo8Y88JLK

    Encoded value:

    MjA1OEdFV0VTWEwxSVMxS0kzR0M6dVp1dE5YS0RYRGE2bWhwTGRYMm5GNHBkNEFzc0ovSW1vOFk4OEpMSw==
  2. Submit the following CURL request:

    curl -Ik -X DELETE -H "Authorization: Basic MjA1OEdFV0VTWEwxSVMxS0kzR0M6dVp1dE5YS0RYRGE2bWhwTGRYMm5GNHBkNEFzc0ovSW1vOFk4OEpMSw==" "https://stream.mydomain.com/0001-mybucket/marketing/widgets/conferenceAtttSeg9-Frag72"
  3. Verify that a 204 No Content response is returned.