Search list of policies. If query parameter q is a policy ID it will look for policies that have the given ID. However if q is not a policy ID it will return policies with whose name matches the patten based via q query parameter. If you send a policy ID in query parameter q and also send query parameter policy_ids,only policy_ids will be used for searching.
The Tyk Dashboard API Access Credentials
Search for policy using policy ID or name.
A list of comma separated policy IDs that you want to search for.
Send any value in this query parameter to return only the active policies.
Return policies whose state field matches the sent value e.g if you send state as deny policies returned are those whose state filed value is set as deny.
deny, active, draft Field you want to use to sort the returned policies.
date_created, name, state Comma separate list of API IDs. Return only policy that that have the given API IDs in their access_right.
Return policy whose auth_type field has the given value.
Use p query parameter to say which page you want returned. Send number less than 0 to return all items.