---
title: "List media protection rules"
method: GET
path: "/v2/sites/{site_id}/media_protection_rules/"
tags: ["media protection rules"]
---

# List media protection rules

`GET /v2/sites/{site_id}/media_protection_rules/`

List media protection rules

## Path parameters

- `site_id` string, required — Unique identifier for a resource

## Query parameters

- `page` integer
- `page_length` integer
- `q` string
- `sort` string

## Response `200`

Resources successfully retrieved

- MediaProtectionRuleResourcesRead — Response for retrieving a list of media protection rules of an account
  - `page` integer — Offset for returned resources
  - `page_length` integer — Maximum number of resources to return
  - `total` integer — Number of resources available before pagination
  - `media_protection_rules` MediaProtectionRuleResourceRead[]
    - `schema` string
    - `id` string — Unique identifier for a resource
    - `created` string — Date and time at which the resource was created
    - `last_modified` string — Date and time at which the resource was most recently modified
    - `type` string — Name of the type of resource.
    - `relationships` object — Ancilliary resources associated to the primary resource being read
    - `metadata` MediaProtectionRuleResourceCreateMetadata — Metadata allowed when creating a media protection rule
      - `name` string, required — Name of the media protection rule A maximum of 64 characters is permitted.
      - `rule_type` RuleType, required — unresolved $ref
      - `countries` Countries, required — unresolved $ref

## Other responses

- `400` — Bad Request The request either lacks certain attributes or contains malformed/invalid attributes.

---

[API](https://skmtc.net/jwplayer/apis/management-api-v2.md) · [All operations](https://skmtc.net/jwplayer/apis/management-api-v2/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/jwplayer/management-api-v2/revisions/180db7cada27/schema)
