Get a policy.
Policies
Get a policy.
You can retrieve details of a single policy by ID in your Tyk instance.
GET
Get a policy.
Authorizations
Api key
Path Parameters
You can retrieve details of a single policy by ID in your Tyk instance.
Response
Get details of a single policy.
Example:
"5ead7120575961000181867e"
Example:
true
Example:
false
Example:
false
Example:
"5ead7120575961000181867e"
Example:
false
Example:
0
Example:
"1655965189"
Example:
-1
Example:
"Swagger Petstore Policy"
Example:
"5e9d9544a1dcd60001d0ed20"
Example:
60
Defines the action to take on a Session in Redis after it expires. Valid values are "retain" and "delete".
Available options:
retain, delete Example:
"delete"
Duration in seconds to retain a Session in Redis after it expires. Used with post_expiry_action "retain". Set to -1 to retain indefinitely.
Example:
0
Example:
-1
Example:
3600
Example:
1000
Example:
-1
Example:
-1