Method: channelSections.delete

Deletes a channel section.

For method-specific error responses, see channelSections.delete errors. For code examples, see channelSections.delete code snippets.

HTTP request

DELETE https://youtube.googleapis.com/youtube/v3/channelSections

The URL uses gRPC Transcoding syntax.

Query parameters

Parameters
id

string

Required. Specifies the ID that uniquely identifies the channel section to delete. In a channelSection resource, the id property specifies the section's ID.

onBehalfOfContentOwner

string

This parameter can only be used in a properly authorized request, and 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 CMS account that the user authenticates with must be linked to the specified YouTube content owner.

Request body

The request body must be empty.

Response body

If successful, the response body is empty.

Authorization scopes

Requires one of the following OAuth scopes:

  • https://www.googleapis.com/auth/youtube
  • https://www.googleapis.com/auth/youtubepartner
  • https://www.googleapis.com/auth/youtube.force-ssl

For more information, see the OAuth 2.0 Overview.