[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-04 UTC."],[],[],null,["# Clean up\n\nTo avoid incurring charges to your Google Cloud account for the resources used\non this page, follow these steps.\n\nDelete the CDN key\n------------------\n\nIf CDN keys were registered,\n[delete the CDN keys](/video-stitcher/docs/how-to/managing-cdn-keys#delete_cdn_key).\nYou need to do this for each CDN key you registered.\n\nClean up resources from the Ad Manager account\n----------------------------------------------\n\nIf you are completely done, you may contact your Google representative to help\nclean up the resources created on your Ad Manager account.\n\nDelete the VOD config\n---------------------\n\nIf you registered a VOD config, delete it using the\n[`projects.locations.vodConfigs.delete`](/video-stitcher/docs/reference/rest/v1/projects.locations.vodConfigs/delete)\nmethod.\n\n\nBefore using any of the request data,\nmake the following replacements:\n\n- \u003cvar class=\"edit\" scope=\"PROJECT_NUMBER\" translate=\"no\"\u003ePROJECT_NUMBER\u003c/var\u003e: your Google Cloud project number; this is located in the **Project number** field on the [IAM Settings](https://console.cloud.google.com/iam-admin/settings) page\n- \u003cvar class=\"edit\" scope=\"LOCATION\" translate=\"no\"\u003eLOCATION\u003c/var\u003e: the location of the VOD config; use one of the [supported regions](/video-stitcher/docs/locations) Show locations\n - `us-central1`\n - `us-east1`\n - `us-west1`\n - `asia-east1`\n - `asia-south1`\n - `asia-southeast1`\n - `europe-west1`\n - `southamerica-east1`\n- \u003cvar class=\"edit\" scope=\"VOD_CONFIG_ID\" translate=\"no\"\u003eVOD_CONFIG_ID\u003c/var\u003e: the user-defined identifier for the VOD config\n\nTo send your request, expand one of these options:\n\n#### curl (Linux, macOS, or Cloud Shell)\n\n| **Note:** The following command assumes that you have logged in to the `gcloud` CLI with your user account by running [`gcloud init`](/sdk/gcloud/reference/init) or [`gcloud auth login`](/sdk/gcloud/reference/auth/login) , or by using [Cloud Shell](/shell/docs), which automatically logs you into the `gcloud` CLI . You can check the currently active account by running [`gcloud auth list`](/sdk/gcloud/reference/auth/list).\n\n\nExecute the following command:\n\n```\ncurl -X DELETE \\\n -H \"Authorization: Bearer $(gcloud auth print-access-token)\" \\\n \"https://videostitcher.googleapis.com/v1/projects/PROJECT_NUMBER/locations/LOCATION/vodConfigs/VOD_CONFIG_ID\"\n```\n\n#### PowerShell (Windows)\n\n| **Note:** The following command assumes that you have logged in to the `gcloud` CLI with your user account by running [`gcloud init`](/sdk/gcloud/reference/init) or [`gcloud auth login`](/sdk/gcloud/reference/auth/login) . You can check the currently active account by running [`gcloud auth list`](/sdk/gcloud/reference/auth/list).\n\n\nExecute the following command:\n\n```\n$cred = gcloud auth print-access-token\n$headers = @{ \"Authorization\" = \"Bearer $cred\" }\n\nInvoke-WebRequest `\n -Method DELETE `\n -Headers $headers `\n -Uri \"https://videostitcher.googleapis.com/v1/projects/PROJECT_NUMBER/locations/LOCATION/vodConfigs/VOD_CONFIG_ID\" | Select-Object -Expand Content\n```\n\nYou should receive a JSON response similar to the following:\n\n```\n{\n \"name\": \"projects/PROJECT_NUMBER/locations/LOCATION/operations/OPERATION_ID\",\n \"metadata\": {\n \"@type\": \"type.googleapis.com/google.cloud.common.OperationMetadata\",\n \"createTime\": CREATE_TIME,\n \"target\": \"projects/PROJECT_NUMBER/locations/LOCATION/vodConfigs/VOD_CONFIG_ID\",\n \"verb\": \"delete\"\n },\n \"done\": false\n}\n```\n\nThis command creates a\n[long-running operation (LRO)](/video-stitcher/docs/how-to/manage-long-running-operations)\nthat you can query to track progress.\n\nClean up VOD assets\n-------------------\n\nIf you used Cloud Storage to host your VOD asset and no longer require\nit, make sure you delete the bucket and resources."]]