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-08-20 UTC."],[[["\u003cp\u003eThis API updates an app's scope by replacing existing scopes with those specified in the request, including adding or removing scopes as needed.\u003c/p\u003e\n"],["\u003cp\u003eThe API uses a PUT request to the specified URL, following gRPC Transcoding syntax, with a required path parameter \u003ccode\u003ename\u003c/code\u003e that follows a predefined structure.\u003c/p\u003e\n"],["\u003cp\u003eThe request and response bodies both contain an instance of \u003ccode\u003eDeveloperAppKey\u003c/code\u003e, as defined in the Apigee REST API reference.\u003c/p\u003e\n"],["\u003cp\u003eThe authorization to use this API requires the \u003ccode\u003eapigee.appkeys.manage\u003c/code\u003e IAM permission on the specified resource and the \u003ccode\u003ehttps://www.googleapis.com/auth/cloud-platform\u003c/code\u003e OAuth scope.\u003c/p\u003e\n"]]],[],null,[]]