# Plugin rate-limiting JSON

**URL:** <https://discuss.konghq.com/t/plugin-rate-limiting-json/945>\
**Category:** Questions\
**Created:** [May 8, 2018, 6:42am UTC](https://discuss.konghq.com/t/plugin-rate-limiting-json/945 "2018-05-08T06:42:44Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![ismaelfre](https://avatars.discourse-cdn.com/v4/letter/i/85e7bf/32.png) [@ismaelfre](https://discuss.konghq.com/u/ismaelfre)\
**Post date:** [May 8, 2018, 6:42am UTC](https://discuss.konghq.com/t/plugin-rate-limiting-json/945/1 "2018-05-08T06:42:44Z")

</div>

Good morning, I added the rate-limiting plugin to my api but I want to pass the limitations setting per minute through the JSON but I can not get it to work.

I have seen that it could be configured like this but it does not work.

“config”: {  
“minute”: 5  
}

this is what I have json

{  
“apis”: [  
{  
“name”: “Prueba”,  
“gateway”: “test”,  
“overwrite”: true,  
“health-path”: “”,  
“upstream-url”: “[http://APITEST](http://APITEST)”,  
“uris”:"/test/api",  
“methods”:“GET,POST”,  
“plugins”: [  
{  
“name”: “basic-auth”  
},  
{  
“name”:“rate-limiting”  
}  
]  
}  
],  
“consumers”: [  
{  
“username”: “prueba”,  
“plugins”: [  
{  
“name”: “basic-auth”,  
“payload”: {  
“username”: “testing”,  
“password”: “testing”  
}  
}  
]  
}  
],  
“gateways”: [  
{  
“name”: “test”,  
“service-url”: “[http://k8s](http://k8s)”,  
“admin-url”: “[http://k8s](http://k8s)”  
}  
]  
}
