API to set the preferred country/region list for a tenant. This overwrites any existing value (upsert). Country codes must be valid ISO 3166-1 alpha-2 codes (2-character uppercase).
Security
apiKey
- Mock serverhttps://develop-api.esper.io/_mock/openapi/v2/preferred-regions
- https://develop-api.esper.cloud/apihttps://develop-api.esper.cloud/api/v2/preferred-regions
curl -i -X POST \
https://develop-api.esper.io/_mock/openapi/v2/preferred-regions \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"countries": [
"AU",
"IN",
"US"
]
}'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" } }