Deletes a channel section. Try it now.
Quota impact: A call to this method has a quota cost of approximately 50 units.
Request
HTTP request
DELETE https://www.googleapis.com/youtube/v3/channelSections
Authorization
This request requires authorization with at least one of the following scopes (read more about authentication and authorization).
Scope |
---|
https://www.googleapis.com/auth/youtubepartner |
https://www.googleapis.com/auth/youtube |
Parameters
The table below lists the parameters that this query supports. All of the parameters listed are query parameters.
Parameter name | Value | Description |
---|---|---|
Required parameters | ||
id |
string |
The id parameter specifies the ID that uniquely identifies the channel section that is being deleted. In a channelSection resource, the id property specifies the section's ID. |
Request body
Do not provide a request body when calling this method.
Response
If successful, this method returns a channelSection resource in the response body.
Errors
The table below identifies error messages that the API could return in response to a call to this method. Please see the error message documentation for more detail.
Error type | Error detail | Description |
---|---|---|
forbidden (403) |
channelSectionForbidden |
The request is not properly authenticated or not supported for this channel. |
invalidValue (400) |
idInvalid |
The id property specifies an invalid channel section ID. |
invalidValue (400) |
idRequired |
The id property must specify a value that identifies the channel section being deleted. |
notFound (404) |
channelSectionNotFound |
The channel section you are trying to update cannot be found. |
Try it!
Use the API Explorer to call this method on live data and see the API request and response.