This API replaces the existing scopes with those specified in the request. Include or exclude any existing scopes that you want to retain or delete, respectively. The specified scopes must already be defined for the API products associated with the app.
This API sets the scopes element under the apiProducts element in the attributes of the app.
HTTP request
PUT https://apigee.googleapis.com/v1/{name=organizations/*/developers/*/apps/*/keys/*}
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-03-07 UTC."],[[["This API updates an app's scope by replacing existing scopes with those specified in the request, including adding or removing scopes as needed."],["The API uses a PUT request to the specified URL, following gRPC Transcoding syntax, with a required path parameter `name` that follows a predefined structure."],["The request and response bodies both contain an instance of `DeveloperAppKey`, as defined in the Apigee REST API reference."],["The authorization to use this API requires the `apigee.appkeys.manage` IAM permission on the specified resource and the `https://www.googleapis.com/auth/cloud-platform` OAuth scope."]]],[]]