Captions: delete
āϏā§āĻ āĻāϰāĻž āĻĒā§āώā§āĻ āĻž āĻā§āĻāĻŋā§ā§ āϰāĻžāĻāϤ⧠'āϏāĻāĻā§āϰāĻš' āĻŦā§āϝāĻŦāĻšāĻžāϰ āĻāϰā§āύ
āĻāĻĒāύāĻžāϰ āĻĒāĻāύā§āĻĻ āĻ
āύā§āϝāĻžā§ā§ āĻāύā§āĻā§āύā§āĻ āϏā§āĻ āĻāϰā§āύ āĻ āϏāĻ āĻŋāĻ āĻŦāĻŋāĻāĻžāĻā§ āϰāĻžāĻā§āύāĨ¤
āĻāĻāĻāĻŋ āύāĻŋāϰā§āĻĻāĻŋāώā§āĻ āĻā§āϝāĻžāĻĒāĻļāύ āĻā§āϰā§āϝāĻžāĻ āĻŽā§āĻā§ āĻĻā§āϝāĻŧāĨ¤
āĻā§āĻāĻž āĻĒā§āϰāĻāĻžāĻŦ: āĻāĻ āĻĒāĻĻā§āϧāϤāĻŋāϤ⧠āĻāĻāĻāĻŋ āĻāϞā§āϰ āĻā§āĻāĻž āĻāϰāĻ 50 āĻāĻāύāĻŋāĻāĨ¤
āϏāĻžāϧāĻžāϰāĻŖ āĻŦā§āϝāĻŦāĻšāĻžāϰā§āϰ āĻā§āώā§āϤā§āϰā§
āĻ
āύā§āϰā§āϧ
HTTP āĻ
āύā§āϰā§āϧ
DELETE https://www.googleapis.com/youtube/v3/captions
āĻ
āύā§āĻŽā§āĻĻāύ
āĻāĻ āĻ
āύā§āϰā§āϧā§āϰ āĻāύā§āϝ āύāĻŋāĻŽā§āύāϞāĻŋāĻāĻŋāϤ āϏā§āϝā§āĻāĻā§āϞāĻŋāϰ āĻŽāϧā§āϝ⧠āĻ
āύā§āϤāϤ āĻāĻāĻāĻŋāϰ āϏāĻžāĻĨā§ āĻ
āύā§āĻŽā§āĻĻāύā§āϰ āĻĒā§āϰāϝāĻŧā§āĻāύ⧎ āĻĒā§āϰāĻŽāĻžāĻŖā§āĻāϰāĻŖ āĻāĻŦāĻ āĻ
āύā§āĻŽā§āĻĻāύ āϏāĻŽā§āĻĒāϰā§āĻā§ āĻāϰāĻ āĻĒāĻĄāĻŧāϤā§, OAuth 2.0 āĻ
āύā§āĻŽā§āĻĻāύ āĻŦāĻžāϏā§āϤāĻŦāĻžāϝāĻŧāύ āĻĻā§āĻā§āύāĨ¤
āĻŦā§āϝāĻžāĻĒā§āϤāĻŋ |
---|
https://www.googleapis.com/auth/youtube.force-ssl |
https://www.googleapis.com/auth/youtubepartner |
āĻĒāϰāĻžāĻŽāĻŋāϤāĻŋ
āύāĻŋāĻŽā§āύāϞāĻŋāĻāĻŋāϤ āϏāĻžāϰāĻŖā§āϤ⧠āĻāĻ āĻā§āϝā§āϝāĻŧāĻžāϰ⧠āϏāĻŽāϰā§āĻĨāύ āĻāϰ⧠āĻāĻŽāύ āĻĒā§āϝāĻžāϰāĻžāĻŽāĻŋāĻāĻžāϰāĻā§āϞāĻŋ āϤāĻžāϞāĻŋāĻāĻžāĻā§āĻā§āϤ āĻāϰāĻž āĻšāϝāĻŧā§āĻā§ā§ˇ āϤāĻžāϞāĻŋāĻāĻžāĻā§āĻā§āϤ āϏāĻŽāϏā§āϤ āĻĒā§āϝāĻžāϰāĻžāĻŽāĻŋāĻāĻžāϰ āĻšāϞ āĻā§āϝā§āϝāĻŧāĻžāϰ⧠āĻĒā§āϝāĻžāϰāĻžāĻŽāĻŋāĻāĻžāϰāĨ¤
āĻĒāϰāĻžāĻŽāĻŋāϤāĻŋ |
---|
āĻĒā§āϰāϝāĻŧā§āĻāύā§āϝāĻŧ āĻĒāϰāĻžāĻŽāĻŋāϤāĻŋ |
id | string id āĻĒā§āϝāĻžāϰāĻžāĻŽāĻŋāĻāĻžāϰāĻāĻŋ āĻā§āϝāĻžāĻĒāĻļāύ āĻā§āϰā§āϝāĻžāĻāĻāĻŋ āϏāύāĻžāĻā§āϤ āĻāϰ⧠āϝāĻž āĻŽā§āĻā§ āĻĢā§āϞāĻž āĻšāĻā§āĻā§āĨ¤ āĻŽāĻžāύ āĻšāϞ āĻāĻāĻāĻŋ āĻā§āϝāĻžāĻĒāĻļāύ āĻā§āϰā§āϝāĻžāĻ āĻāĻāĻĄāĻŋ āϝāĻž caption āϰāĻŋāϏā§āϰā§āϏ⧠id āĻĒā§āϰāĻĒāĻžāϰā§āĻāĻŋ āĻĻā§āĻŦāĻžāϰāĻž āĻāĻŋāĻšā§āύāĻŋāϤ āĻāϰāĻž āĻšāϝāĻŧāĨ¤ |
āĻāĻā§āĻāĻŋāĻ āĻĒāϰāĻžāĻŽāĻŋāϤāĻŋ |
onBehalfOfContentOwner | string āĻāĻ āĻĒā§āϝāĻžāϰāĻžāĻŽāĻŋāĻāĻžāϰāĻāĻŋ āĻļā§āϧā§āĻŽāĻžāϤā§āϰ āϏāĻ āĻŋāĻāĻāĻžāĻŦā§ āĻ
āύā§āĻŽā§āĻĻāĻŋāϤ āĻ
āύā§āϰā§āϧ⧠āĻŦā§āϝāĻŦāĻšāĻžāϰ āĻāϰāĻž āϝā§āϤ⧠āĻĒāĻžāϰā§āĨ¤
āĻĻā§āϰāώā§āĻāĻŦā§āϝ: āĻāĻ āĻĒā§āϝāĻžāϰāĻžāĻŽāĻŋāĻāĻžāϰāĻāĻŋ āĻļā§āϧā§āĻŽāĻžāϤā§āϰ YouTube āĻŦāĻŋāώāϝāĻŧāĻŦāϏā§āϤ⧠āĻ
āĻāĻļā§āĻĻāĻžāϰāĻĻā§āϰ āĻāύā§āϝ āĻāĻĻā§āĻĻāĻŋāώā§āĻ⧎
onBehalfOfContentOwner āĻĒā§āϝāĻžāϰāĻžāĻŽāĻŋāĻāĻžāϰāĻāĻŋ āύāĻŋāϰā§āĻĻā§āĻļ āĻāϰ⧠āϝ⧠āĻ
āύā§āϰā§āϧā§āϰ āĻ
āύā§āĻŽā§āĻĻāύā§āϰ āĻļāĻāϏāĻžāĻĒāϤā§āϰāĻā§āϞāĻŋ āĻāĻāĻāύ YouTube CMS āĻŦā§āϝāĻŦāĻšāĻžāϰāĻāĻžāϰā§āĻā§ āĻļāύāĻžāĻā§āϤ āĻāϰ⧠āϝāĻŋāύāĻŋ āĻĒā§āϝāĻžāϰāĻžāĻŽāĻŋāĻāĻžāϰ āĻŽāĻžāύāϤ⧠āύāĻŋāϰā§āĻĻāĻŋāώā§āĻ āϏāĻžāĻŽāĻā§āϰā§āϰ āĻŽāĻžāϞāĻŋāĻā§āϰ āĻĒāĻā§āώ⧠āĻāĻžāĻ āĻāϰāĻā§āύ⧎ āĻāĻ āĻĒā§āϝāĻžāϰāĻžāĻŽāĻŋāĻāĻžāϰāĻāĻŋ YouTube āĻŦāĻŋāώāϝāĻŧāĻŦāϏā§āϤ⧠āĻ
āĻāĻļā§āĻĻāĻžāϰāĻĻā§āϰ āĻāύā§āϝ āĻāĻĻā§āĻĻāĻŋāώā§āĻ āϝāĻžāϰāĻž āĻŦāĻŋāĻāĻŋāύā§āύ YouTube āĻā§āϝāĻžāύā§āϞā§āϰ āĻŽāĻžāϞāĻŋāĻ āĻāĻŦāĻ āĻĒāϰāĻŋāĻāĻžāϞāύāĻž āĻāϰā§ā§ˇ āĻāĻāĻŋ āϏāĻžāĻŽāĻā§āϰā§āϰ āĻŽāĻžāϞāĻŋāĻāĻĻā§āϰ āĻāĻāĻŦāĻžāϰ āĻĒā§āϰāĻŽāĻžāĻŖā§āĻāϰāĻŖ āĻāϰāϤ⧠āĻāĻŦāĻ āĻĒā§āϰāϤāĻŋāĻāĻŋ āĻĒā§āĻĨāĻ āĻā§āϝāĻžāύā§āϞā§āϰ āĻāύā§āϝ āĻĒā§āϰāĻŽāĻžāĻŖā§āĻāϰāĻŖ āĻļāĻāϏāĻžāĻĒāϤā§āϰ āĻĒā§āϰāĻĻāĻžāύ āύāĻž āĻāϰā§āĻ āϤāĻžāĻĻā§āϰ āϏāĻŽāϏā§āϤ āĻāĻŋāĻĄāĻŋāĻ āĻāĻŦāĻ āĻā§āϝāĻžāύā§āϞ āĻĄā§āĻāĻžāϤ⧠āĻ
ā§āϝāĻžāĻā§āϏā§āϏ āĻĒā§āϤ⧠āĻĻā§āϝāĻŧ⧎ āĻĒā§āϰāĻā§āϤ CMS āĻ
ā§āϝāĻžāĻāĻžāĻāύā§āĻ āϝā§āĻāĻŋāϰ āϏāĻžāĻĨā§ āĻŦā§āϝāĻŦāĻšāĻžāϰāĻāĻžāϰ⧠āĻĒā§āϰāĻŽāĻžāĻŖā§āĻāϰāĻŖ āĻāϰ⧠āϏā§āĻāĻŋ āĻ
āĻŦāĻļā§āϝāĻ āύāĻŋāϰā§āĻĻāĻŋāώā§āĻ YouTube āĻŦāĻŋāώāϝāĻŧāĻŦāϏā§āϤā§āϰ āĻŽāĻžāϞāĻŋāĻā§āϰ āϏāĻžāĻĨā§ āϞāĻŋāĻā§āĻ āĻāϰāĻž āĻāĻāĻŋāϤāĨ¤ |
āĻļāϰā§āϰā§āϰ āĻ
āύā§āϰā§āϧ
āĻāĻ āĻĒāĻĻā§āϧāϤāĻŋāϤ⧠āĻāϞ āĻāϰāĻžāϰ āϏāĻŽāϝāĻŧ āĻāĻāĻāĻŋ āĻ
āύā§āϰā§āϧā§āϰ āĻ
āĻāĻļ āĻĒā§āϰāĻĻāĻžāύ āĻāϰāĻŦā§āύ āύāĻžāĨ¤
āĻĒā§āϰāϤāĻŋāĻā§āϰāĻŋāϝāĻŧāĻž
āϏāĻĢāϞ āĻšāϞā§, āĻāĻ āĻĒāĻĻā§āϧāϤāĻŋāĻāĻŋ āĻāĻāĻāĻŋ HTTP 204 No Content
āϏā§āĻā§āϝāĻžāĻāĻžāϏ āĻā§āĻĄ āĻĒā§āϰāĻĻāĻžāύ āĻāϰā§āĨ¤
āϤā§āϰā§āĻāĻŋ
āύāĻŋāĻŽā§āύāϞāĻŋāĻāĻŋāϤ āϏāĻžāϰāĻŖā§ āϤā§āϰā§āĻāĻŋ āĻŦāĻžāϰā§āϤāĻžāĻā§āϞāĻŋ āϏāύāĻžāĻā§āϤ āĻāϰ⧠āϝāĻž API āĻāĻ āĻĒāĻĻā§āϧāϤāĻŋāϤ⧠āĻāĻāĻāĻŋ āĻāϞā§āϰ āĻĒā§āϰāϤāĻŋāĻā§āϰāĻŋāϝāĻŧāĻž āĻšāĻŋāϏāĻžāĻŦā§ āĻĢāĻŋāϰ⧠āĻāϏāϤ⧠āĻĒāĻžāϰā§ā§ˇ āĻāϰāĻ āĻŦāĻŋāĻļāĻĻ āĻŦāĻŋāĻŦāϰāĻŖā§āϰ āĻāύā§āϝ, YouTube āĻĄā§āĻāĻž API - āϤā§āϰā§āĻāĻŋāĻā§āϞāĻŋ āĻĻā§āĻā§āύāĨ¤
āϤā§āϰā§āĻāĻŋāϰ āϧāϰāύ | āϤā§āϰā§āĻāĻŋ āĻŦāĻŋāϏā§āϤāĻžāϰāĻŋāϤ | āĻŦāϰā§āĻŖāύāĻž |
---|
forbidden (403) | forbidden | āĻ
āύā§āϰā§āϧā§āϰ āϏāĻžāĻĨā§ āϝā§āĻā§āϤ āĻ
āύā§āĻŽāϤāĻŋāĻā§āϞāĻŋ āĻā§āϝāĻžāĻĒāĻļāύ āĻā§āϰā§āϝāĻžāĻ āĻŽā§āĻā§ āĻĢā§āϞāĻžāϰ āĻāύā§āϝ āϝāĻĨā§āώā§āĻ āύāϝāĻŧ⧎ āĻ
āύā§āϰā§āϧ āϏāĻ āĻŋāĻāĻāĻžāĻŦā§ āĻ
āύā§āĻŽā§āĻĻāĻŋāϤ āύāĻžāĻ āĻšāϤ⧠āĻĒāĻžāϰā§. |
notFound (404) | captionNotFound | āĻā§āϝāĻžāĻĒāĻļāύ āĻā§āϰā§āϝāĻžāĻ āĻā§āĻāĻā§ āĻĒāĻžāĻāϝāĻŧāĻž āϝāĻžāϝāĻŧāύāĻŋ. āĻ
āύā§āϰā§āϧā§āϰ id āĻĒā§āϝāĻžāϰāĻžāĻŽāĻŋāĻāĻžāϰā§āϰ āĻŽāĻžāύ āĻĒāϰā§āĻā§āώāĻž āĻāϰ⧠āύāĻŋāĻļā§āĻāĻŋāϤ āĻāϰā§āύ āϝ⧠āĻāĻāĻŋ āϏāĻ āĻŋāĻāĨ¤ |
āĻāĻāĻž āĻā§āώā§āĻāĻž āĻāϰā§āύ!
āĻāĻ API āĻāϞ āĻāϰāϤ⧠APIs Explorer āĻŦā§āϝāĻŦāĻšāĻžāϰ āĻāϰā§āύ āĻāĻŦāĻ API āĻ
āύā§āϰā§āϧ āĻāĻŦāĻ āĻĒā§āϰāϤāĻŋāĻā§āϰāĻŋāϝāĻŧāĻž āĻĻā§āĻā§āύāĨ¤
āĻ
āύā§āϝ āĻāĻŋāĻā§ āĻāϞā§āϞā§āĻ āύāĻž āĻāϰāĻž āĻĨāĻžāĻāϞā§, āĻāĻ āĻĒā§āώā§āĻ āĻžāϰ āĻāύā§āĻā§āύā§āĻ Creative Commons Attribution 4.0 License-āĻāϰ āĻ
āϧā§āύ⧠āĻāĻŦāĻ āĻā§āĻĄā§āϰ āύāĻŽā§āύāĻžāĻā§āϞāĻŋ Apache 2.0 License-āĻāϰ āĻ
āϧā§āύ⧠āϞāĻžāĻāϏā§āύā§āϏ āĻĒā§āϰāĻžāĻĒā§āϤāĨ¤ āĻāϰāĻ āĻāĻžāύāϤā§, Google Developers āϏāĻžāĻāĻ āύā§āϤāĻŋ āĻĻā§āĻā§āύāĨ¤ Java āĻšāϞ Oracle āĻāĻŦāĻ/āĻ
āĻĨāĻŦāĻž āϤāĻžāϰ āĻ
ā§āϝāĻžāĻĢāĻŋāϞāĻŋā§ā§āĻ āϏāĻāϏā§āĻĨāĻžāϰ āϰā§āĻāĻŋāϏā§āĻāĻžāϰā§āĻĄ āĻā§āϰā§āĻĄāĻŽāĻžāϰā§āĻāĨ¤
2024-12-17 UTC-āϤ⧠āĻļā§āώāĻŦāĻžāϰ āĻāĻĒāĻĄā§āĻ āĻāϰāĻž āĻšā§ā§āĻā§āĨ¤
[[["āϏāĻšāĻā§ āĻŦā§āĻāĻž āϝāĻžā§","easyToUnderstand","thumb-up"],["āĻāĻŽāĻžāϰ āϏāĻŽāϏā§āϝāĻžāϰ āϏāĻŽāĻžāϧāĻžāύ āĻšā§ā§āĻā§","solvedMyProblem","thumb-up"],["āĻ
āύā§āϝāĻžāύā§āϝ","otherUp","thumb-up"]],[["āĻāϤ⧠āĻāĻŽāĻžāϰ āĻĒā§āϰā§ā§āĻāύā§ā§ āϤāĻĨā§āϝ āύā§āĻ","missingTheInformationINeed","thumb-down"],["āĻā§āĻŦ āĻāĻāĻŋāϞ / āĻ
āύā§āĻ āϧāĻžāĻĒ","tooComplicatedTooManySteps","thumb-down"],["āĻĒā§āϰāύā§","outOfDate","thumb-down"],["āĻ
āύā§āĻŦāĻžāĻĻ āϏāĻāĻā§āϰāĻžāύā§āϤ āϏāĻŽāϏā§āϝāĻž","translationIssue","thumb-down"],["āύāĻŽā§āύāĻž / āĻā§āĻĄ āϏāĻāĻā§āϰāĻžāύā§āϤ āϏāĻŽāϏā§āϝāĻž","samplesCodeIssue","thumb-down"],["āĻ
āύā§āϝāĻžāύā§āϝ","otherDown","thumb-down"]],["2024-12-17 UTC-āϤ⧠āĻļā§āώāĻŦāĻžāϰ āĻāĻĒāĻĄā§āĻ āĻāϰāĻž āĻšā§ā§āĻā§āĨ¤"],[],[],null,["# Captions: delete\n\nDeletes a specified caption track.\n\n**Quota impact:** A call to this method has a [quota cost](/youtube/v3/getting-started#quota) of 50 units.\n\nCommon use cases\n----------------\n\nThe list below shows common use cases for this method. Hover over a use case to see its description, or click on a use case to load sample parameter values in the APIs Explorer. You can open the [fullscreen APIs Explorer](#) to see code samples that dynamically update to reflect the parameter values entered in the Explorer.\n\nThe table below shows common use cases for this method. You can click on a use case name to load sample parameter values in the APIs Explorer. Or you can see code samples for a use case in the fullscreen APIs Explorer by clicking on the code icon below a use case name. In the fullscreen UI, you can update parameter and property values and the code samples will dynamically update to reflect the values you enter. \nThis method has one common use case, which is described below. The buttons below the description populate the APIs Explorer with sample values or open the fullscreen APIs Explorer to show code samples that use those values. The code samples also dynamically update if you change the values.\n\n\u003cbr /\u003e\n\nRequest\n-------\n\n### HTTP request\n\n```\nDELETE https://www.googleapis.com/youtube/v3/captions\n```\n\n### Authorization\n\nThis request requires authorization with at least one of the following scopes. To read more about authentication and authorization, see [Implementing OAuth 2.0 authorization](/youtube/v3/guides/authentication).\n\n| Scope |\n|-----------------------------------------------------|\n| `https://www.googleapis.com/auth/youtube.force-ssl` |\n| `https://www.googleapis.com/auth/youtubepartner` |\n\n### Parameters\n\nThe following table lists the parameters that this query supports. All of the parameters listed are query parameters.\n\n| Parameters ||\n|--------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---|\n| **Required parameters** |||\n| `id` | `string` The **id** parameter identifies the caption track that is being deleted. The value is a caption track ID as identified by the [id](/youtube/v3/docs/captions#id) property in a `caption` resource. |\n| **Optional parameters** |||\n| `onBehalfOfContentOwner` | `string` This parameter can only be used in a properly [authorized request](/youtube/v3/guides/authentication). **Note:** This parameter is intended exclusively for YouTube content partners. The **onBehalfOfContentOwner** parameter indicates that the request's authorization credentials identify a YouTube CMS user who is acting on behalf of the content owner specified in the parameter value. This parameter is intended for YouTube content partners that own and manage many different YouTube channels. It allows content owners to authenticate once and get access to all their video and channel data, without having to provide authentication credentials for each individual channel. The actual CMS account that the user authenticates with must be linked to the specified YouTube content owner. |\n\n### Request body\n\nDo not provide a request body when calling this method.\n\nResponse\n--------\n\nIf successful, this method returns an HTTP `204 No Content` status code.\n\nErrors\n------\n\nThe following table identifies error messages that the API could return in response to a call to this method. Fore more details, see [YouTube Data API - Errors](/youtube/v3/docs/errors).\n\n| Error type | Error detail | Description |\n|-------------------|-------------------|-------------------------------------------------------------------------------------------------------------------------------------------|\n| `forbidden (403)` | `forbidden` | The permissions associated with the request are not sufficient to delete the caption track. The request might not be properly authorized. |\n| `notFound (404)` | `captionNotFound` | The caption track could not be found. Check the value of the request's `id` parameter to ensure that it is correct. |\n\nTry it!\n-------\n\nUse the APIs Explorer to call this API and see the API request and response."]]