Get all geo restrictions
GET/api/v1/services/:service_id/geo-restriction/
Returns the list of geo restrictions of a service.
Request
Path Parameters
service_id uuidrequired
Responses
- 200
- application/json
- Schema
- Example (from schema)
Schema
Array [
Array [
]
allow
- Allowdeny
- Deny]
countries
object[]
required
country stringrequired
Country 2 letter iso code
Possible values: <= 2 characters
id uuidrequired
service uuidrequired
type GeoRestrictionTypeEnum (string)required
Possible values: [allow
, deny
]
[
{
"countries": [
{
"country": "string"
}
],
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"service": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"type": "allow"
}
]
Loading...