Skip to content

Get Preferred Regions for Tenant

Request

API to get the preferred country/region list for a tenant. Returns an empty countries array if no regions have been set.

Security
apiKey
cURL
curl -i -X GET \
  https://develop-api.esper.io/_mock/openapi/v2/preferred-regions \
  -H 'Authorization: Bearer <YOUR_TOKEN_HERE>'

Responses

Success

Bodyapplication/json
contentobject(TenantPreferredRegions)
Response
{ "content": { "tenant_id": "34f5c98e-f430-457b-a812-92637d0c6fd0", "countries": [], "created_by": "string", "created_at": "2019-08-24T14:15:22Z", "updated_by": "string", "updated_at": "2019-08-24T14:15:22Z" } }