Policies
Get a policy.
Changed onYou can retrieve details of a single policy by ID in your Tyk instance.
get/tyk/policies/{polID}
Request
- Base URLhttps://localhost:8080
- URLhttps://localhost:8080/tyk/policies/{polID}
- AuthAPI key in header X-Tyk-Authorization
Path parameters
polIDstring required
You can retrieve details of a single policy by ID in your Tyk instance.
Response
Get details of a single policy.
Example response
{
"_id": "5ead7120575961000181867e",
"active": true,
"id": "5ead7120575961000181867e",
"last_updated": "1655965189",
"max_query_depth": -1,
"name": "Swagger Petstore Policy",
"org_id": "5e9d9544a1dcd60001d0ed20",
"partitions": {
"acl": true,
"quota": true,
"rate_limit": true
},
"per": 60,
"post_expiry_action": "delete",
"quota_max": -1,
"quota_renewal_rate": 3600,
"rate": 1000,
"throttle_interval": -1,
"throttle_retry_limit": -1
}Changes
- info
added the optional property
////to the response with the status
- info
- info
added the optional property
to the response with the status - info
added the optional property
to the response with the status
- info