Skip to main content

Read Account Geo Restrictions

GET 

https://api.millicast.com/api/geo/account

deprecated

This endpoint has been deprecated and may be replaced or removed in future versions of the API.

Please refer to Get Account Security Settings

Gets account wide geo restrictions. If a Token (either Publish or Subscribe) does not define any geo restrictions, the account wide rules are used.

Responses

Success

Schema
    statusstringrequired

    Possible values: non-empty

    Default value: success
    data objectrequired
    allowedCountriesstring[]
    deniedCountriesstring[]

Authorization: http

name: API_Secrettype: httpdescription: ### Usage
#### Acquire secret from dashboard.
* Login to the streaming dashboard
* On the left menu, click on Settings
* Navigate to the Security tab's sub section API Secrets
1. "+ Create" to generate a new named API Secret if needed
2. Click on the copy button or the reveal button to access a previously created API Secret

![](../assets/api_secret.png "Find API Secret")scheme: bearer
var client = new HttpClient();
var request = new HttpRequestMessage(HttpMethod.Get, "https://api.millicast.com/api/geo/account");
request.Headers.Add("Accept", "application/json");
request.Headers.Add("Authorization", "Bearer <token>");
var response = await client.SendAsync(request);
response.EnsureSuccessStatusCode();
Console.WriteLine(await response.Content.ReadAsStringAsync());
Request Collapse all
Base URL
https://api.millicast.com
Auth