Disable sample videos in new sub-account

osame
osame Member Posts: 1
edited April 2023 in Developer APIs

When creating a new sub-account, it populates the account with sample videos. Is it possible to turn this off so it's empty?

{
    "resources": [
        {
            "asset_id": "d496c071a41578a4e4412dd0fb459a9f",
            "public_id": "samples/cld-sample-video",
            "format": "mp4",
            "version": 1680847049,
            "resource_type": "video",
            "type": "upload",
            "created_at": "2023-04-07T05:57:29Z",
            "bytes": 35988643,
            "width": 3840,
            "height": 2160,
            "folder": "samples",
            "url": "http://res.cloudinary.com/square-online-production-user-143188581/video/upload/v1680847049/samples/cld-sample-video.mp4",
            "secure_url": "https://res.cloudinary.com/square-online-production-user-143188581/video/upload/v1680847049/samples/cld-sample-video.mp4"
        },
        {
            "asset_id": "42c5cd3205632068a80c1e2aae9771ba",
            "public_id": "samples/elephants",
            "format": "mp4",
            "version": 1680847046,
            "resource_type": "video",
            "type": "upload",
            "created_at": "2023-04-07T05:57:26Z",
            "bytes": 38855178,
            "width": 1920,
            "height": 1080,
            "folder": "samples",
            "url": "http://res.cloudinary.com/square-online-production-user-143188581/video/upload/v1680847046/samples/elephants.mp4",
            "secure_url": "https://res.cloudinary.com/square-online-production-user-143188581/video/upload/v1680847046/samples/elephants.mp4"
        },
        {
            "asset_id": "0e4eb41daa317bc42088910f43e906ea",
            "public_id": "samples/sea-turtle",
            "format": "mp4",
            "version": 1680847044,
            "resource_type": "video",
            "type": "upload",
            "created_at": "2023-04-07T05:57:24Z",
            "bytes": 27932506,
            "width": 1920,
            "height": 1080,
            "folder": "samples",
            "url": "http://res.cloudinary.com/square-online-production-user-143188581/video/upload/v1680847044/samples/sea-turtle.mp4",
            "secure_url": "https://res.cloudinary.com/square-online-production-user-143188581/video/upload/v1680847044/samples/sea-turtle.mp4"
        }
    ],
}
Tagged:

Answers

  • tia
    tia Member, Cloudinary Staff Posts: 24

    Hi there, 

    Thanks so much for reaching out. 

    I'm afraid it is not possible to delete the sample images and videos. If you delete them, they will be automatically re-uploaded when you visit the cookbook, named transformations, or dynamic transformations tabs. This is because we use those assets for examples of transformations in the UI. If it helps, you can upload your own image/video with the public ids of the sample assets and we'll use those instead, but you will not be able to remove them entirely.

    Let me know if you have any questions.

    Kind regards, 

    Tia