membphis edited a comment on issue #6580:
URL: https://github.com/apache/apisix/issues/6580#issuecomment-1075830846


   hi @nfrankel , I updated your example, which is simpler. I think it looks 
good now.
   
   ```shell
   $ curl -i https://my.host/apisix/admin/plugin_configs/1  -H 'X-API-KEY: abc' 
-X PUT -d '{
       "desc": "blah",
       "plugins": [
           {
               "id": "ext-plugin-req",
               "priority": 500,
               "conf": [
                   {
                       "name": "ext-plugin-A",
                       "value": "{\"enable\":\"feature\"}"
                   }
               ],
           },
           {
               "id": "ext-plugin-req",
               "priority": -500,
               "conf": [
                   {
                       "name": "ext-plugin-B",
                       "value": "{\"disable\":\"feature\"}"
                   }
               ]
           }
       ]
   }'
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to