# Set Preferred Regions for Tenant 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). Endpoint: POST /v2/preferred-regions Version: 1.0.0 Security: apiKey ## Request fields (application/json): - `countries` (array, required) List of ISO 3166-1 alpha-2 country codes (2-character uppercase) Example: ["AU","IN","US"] ## Response 200 fields (application/json): - `content` (object) - `content.tenant_id` (string) Unique identifier for the tenant - `content.countries` (array) List of preferred country codes Example: ["AU","IN","US"] - `content.created_by` (string) The user who created the preferred regions - `content.created_at` (string) Timestamp of when the preferred regions were first created - `content.updated_by` (string) The user who last updated the preferred regions - `content.updated_at` (string) Timestamp of when the preferred regions were last updated ## Response 400 fields (application/json): - `code` (integer, required) - `message` (string, required) - `content` (object) ## Response 401 fields (application/json): - `code` (integer, required) - `message` (string, required) - `content` (object) ## Response 500 fields (application/json): - `code` (integer, required) - `message` (string, required) - `content` (object)