🚫 2. Update scope - Item from online acc.

POST https://www.arcgis.com/sharing/rest/oauth2/apps/{{client_id}}/update

Request Body

[{"name"=>"f", "value"=>"json", "datatype"=>"string"}, {"name"=>"appType", "value"=>"apikey", "datatype"=>"string"}, {"name"=>"privileges", "value"=>"[\"portal:app:access:item:c3d64e9d056c4eb9b9a0a0c3bdc83feb\",\"premium:user:networkanalysis:servicearea\",\"premium:user:geocode:temporary\",\"premium:user:networkanalysis:routing\",\"portal:apikey:basemaps\"]", "datatype"=>"string"}, {"name"=>"token", "value"=>"{{access_token}}", "datatype"=>"string"}]

RESPONSES

status: OK

{"error":{"code":403,"messageCode":"GWM_0003","message":"You do not have permissions to access this resource or perform this operation.","details":[]}}