Skip to main content
GET
/
api
/
portal
/
policies
Get list portal policies.
curl --request GET \
  --url https://{tenant}/api/portal/policies \
  --header 'Authorization: Bearer <token>'
{
  "Data": [
    {
      "_id": "<string>",
      "access_rights": {},
      "active": true,
      "date_created": "2023-11-07T05:31:56Z",
      "hmac_enabled": true,
      "id": "<string>",
      "is_inactive": true,
      "key_expires_in": 123,
      "last_updated": "<string>",
      "max_query_depth": 123,
      "meta_data": {},
      "name": "<string>",
      "org_id": "<string>",
      "partitions": {
        "acl": true,
        "complexity": true,
        "per_api": true,
        "quota": true,
        "rate_limit": true
      },
      "per": 123,
      "quota_max": 123,
      "quota_renewal_rate": 123,
      "rate": 123,
      "smoothing": {
        "delay": 2,
        "enabled": true,
        "step": 2,
        "threshold": 2,
        "trigger": 1
      },
      "tags": [
        "<string>"
      ],
      "throttle_interval": 123,
      "throttle_retry_limit": 123
    }
  ],
  "Pages": 123
}

Authorizations

Authorization
string
header
required

The Tyk Dashboard API Access Credentials

Query Parameters

p
integer

Use p query parameter to say which page you want returned. Send number less than 0 to return all items.

active
string

Send any value in this query parameter to return only the active policies.

Response

List of all policies.

Data
object[] | null
Pages
integer