Method: claims.patch

  • This endpoint updates an existing claim, allowing changes to its policy or status, including releasing it by setting the status to inactive .

  • The PATCH request targets a specific claim using its claimId in the URL path: PATCH https://youtubepartner.googleapis.com/youtube/partner/v1/claims/{claimId} .

  • The onBehalfOfContentOwner query parameter allows users associated with multiple content owners to specify the content owner they are acting on behalf of.

  • Both the request and the response body use the Claim resource to pass data.

  • The authorization scope https://www.googleapis.com/auth/youtubepartner is required to utilize this endpoint.

Patches an existing claim by either changing its policy or its status. You can update a claim's status from active to inactive to effectively release the claim.

HTTP request

PATCH https://youtubepartner.googleapis.com/youtube/partner/v1/claims/{claimId}

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
claimId

string

The claimId parameter specifies the claim ID of the claim being updated.

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 contains an instance of Claim .

Response body

If successful, the response body contains an instance of Claim .

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: