---
title: "Set the restrictions to all streams in product"
method: POST
path: "/1/radios/{radio_product_id}/restrictions"
tags: ["Radio Products"]
---

# Set the restrictions to all streams in product

`POST /1/radios/{radio_product_id}/restrictions`

## Path parameters

- `radio_product_id` integer, required

## Request body

- object
  - `country_list` string, nullable — Specify the country list not allow accessing to the stream
  - `ip_exclude_list` string, nullable — Specify the ip list not allow accessing to the stream
  - `ip_include_list` string, nullable — Specify the ip list allow accessing to the stream
  - `is_allow_country` boolean — Specify if the access restriction rules is enabled
  - `is_hash_restriction` boolean — Specify if the access restriction rules is enabled

## Response `200`

OK

- object
  - `result` 'success' | 'error' | 'asynchronous', required — Result of the HTTP request
  - `data` boolean

---

[API](https://skmtc.dev/infomaniak/apis/api-reference-developer-tools.md) · [All operations](https://skmtc.dev/infomaniak/apis/api-reference-developer-tools/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/infomaniak/api-reference-developer-tools/revisions/1c59d729611a/schema)
