Create a Policy
POST {{baseUrl}}/tyk/policies
You can create a Policy in your Tyk Instance
Request Body
{"name"=>"new policy", "quota_max"=>60, "quota_renewal_rate"=>60, "allowance"=>100, "rate"=>100, "per"=>5, "org_id"=>"53ac07777cbb8c2d53000002"}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Content-Type | string | ||
Accept | string |
RESPONSES
status: OK
{"action":"created","status":"ok"}