Radio Products

Set the restrictions to all streams in product

post/1/radios/{radio_product_id}/restrictions

Path parameters

radio_product_idinteger required

Request body

country_liststring nullable

Specify the country list not allow accessing to the stream

ip_exclude_liststring nullable

Specify the ip list not allow accessing to the stream

ip_include_liststring nullable

Specify the ip list allow accessing to the stream

is_allow_countryboolean

Specify if the access restriction rules is enabled

is_hash_restrictionboolean

Specify if the access restriction rules is enabled

Example request

{
  "country_list": "IT,JP",
  "ip_exclude_list": "127.0.0.3,127.0.0.4",
  "ip_include_list": "127.0.0.1,127.0.0.2"
}

Response

OK

result'success' | 'error' | 'asynchronous' required

Result of the HTTP request

databoolean

Example response

{
  "result": "success"
}

Changes

No recorded changes to this endpoint across all 2 revisions of this API.