List policy sets
GET https://{{host}}/imaging/v2/policysets
Returns a list of all policy sets for a contract in production.
Body
PARAM
Key | Datatype | Required | Description |
accountSwitchKey
|
string | (Optional) For customers who manage more than one account, this [runs the operation from another account](https://techdocs.akamai.com/developer/docs/manage-many-accounts-with-one-api-client). The Identity and Access Management API provides a [list of available account switch keys](https://techdocs.akamai.com/iam-api/reference/get-client-account-switch-keys). |
HEADERS
Key | Datatype | Required | Description |
Contract
|
string | Unique identifier for the Akamai Contract containing the policy sets. Required if you have access to more than one contract with Image & Video Manager. | |
Accept
|
string |
RESPONSES
status OK
[
{
"id": "123ab456-cde7-89ab-1234-56c789d12e4",
"lastModified": "2022-01-02 08:10:02+0000",
"name": "my_policy_set",
"properties": [],
"region": "US",
"type": "IMAGE",
"user": "jperez"
},
{
"id": "4a56adc0-9f16-14ce-d61d-56befacf783b-v",
"lastModified": "2022-01-10 14:25:43+0000",
"name": "my_renamed_policy_set",
"properties": [
"example.com"
],
"region": "US",
"type": "VIDEO",
"user": "jperez"
}
] |
ENDPOINTS