---
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/`

## Request

- Base URL: `https://api.jwplayer.com`
- URL: `https://api.jwplayer.com/v2/sites/{site_id}/media_protection_rules/`
- Auth: API key in header `Authorization`

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`: Invalid JSON request body

## Changes

- **2026-11-03** `9fad6bd5872e`: 1 info
  - added the media type `application/json` for the response with the status `400`

[Operation history](https://skmtc.dev/jwplayer/apis/management-api-v2/changes/v2/sites/:site_id/media_protection_rules/get.md)

---

[API](https://skmtc.dev/jwplayer/apis/management-api-v2.md) - [All operations](https://skmtc.dev/jwplayer/apis/management-api-v2/llms.txt) - [OpenAPI document](https://skmtc.dev/jwplayer/apis/management-api-v2/revisions/9fad6bd5872e?raw)
