Method: assetRelationships.delete

  • This webpage documents the process for deleting a relationship between two assets using a DELETE HTTP request to the YouTube Partner API.

  • The assetRelationshipId path parameter is required to identify the specific relationship to be deleted.

  • The onBehalfOfContentOwner query parameter is used to specify the content owner the user is acting on behalf of, if applicable.

  • The request body must be empty, and a successful request will return an empty JSON object in the response body.

  • Deleting asset relationships requires authorization with the https://www.googleapis.com/auth/youtubepartner OAuth scope.

Deletes a relationship between two assets.

HTTP request

DELETE https://youtubepartner.googleapis.com/youtube/partner/v1/assetRelationships/{assetRelationshipId}

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
assetRelationshipId

string

The assetRelationshipId parameter specifies a value that uniquely identifies the relationship you are deleting.

Query parameters

Parameters
onBehalfOfContentOwner

string

The onBehalfOfContentOwner parameter identifies the content owner that the user is acting on behalf of. This parameter supports users whose accounts are associated with multiple content owners.

Request body

The request body must be empty.

Response body

If successful, the response body is an empty JSON object.

Authorization scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/youtubepartner

For more information, see the OAuth 2.0 Overview .

Design a Mobile Site
View Site in Mobile | Classic
Share by: