Skip to main content

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

Schema

  • Array [

  • countries

    object[]

    required

  • Array [

  • country stringrequired

    Country 2 letter iso code

    Possible values: <= 2 characters

  • ]

  • id uuidrequired
    service uuidrequired
    type GeoRestrictionTypeEnum (string)required
    • allow - Allow
    • deny - Deny

    Possible values: [allow, deny]

  • ]

Loading...