Policies
Get a single policy by ID.
Get a policy by ID.
GET
Get a single policy by ID.
Authorizations
The Tyk Dashboard API Access Credentials
Path Parameters
ID of policy to get.
Response
Policy fetched.
Defines the action to take on a Session in Redis after it expires. Valid values are "retain" and "delete", leave empty for legacy session lifetime controls.
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. Set to 0 to use legacy session lifetime controls.
Example:
0