---
title: "Assign a country code to devices"
method: POST
path: "/devices/country-code/:assign"
tags: ["Device"]
---

# Assign a country code to devices

`POST /devices/country-code/:assign`

Assign the country code to one or more devices.

## Request body

- XiqAssignDevicesCountryCodeRequest — Device country-code assignment for multiple devices
  - `devices` XiqDeviceFilter, required — The filter to get matched devices
    - `ids` integer[] — The device ID list
  - `country_code` '4' | '8' | '12' | '16' | '20' | '24' | '10' | '28' | '32' | '51' | '533' | '36' | '40' | '31' | '44' | '48' | '50' | '52' | '112' | '56' | '84' | '204' | '60' | '64' | '68' | '70' | '72' | '76' | '92' | '96' | '100' | '854' | '108' | '116' | '120' | '124' | '132' | '136' | '140' | '148' | '152' | '156' | '170' | '174' | '178' | '180' | '184' | '188' | '191' | '196' | '203' | '384' | '208' | '262' | '212' | '214' | '218' | '818' | '222' | '226' | '232' | '233' | '231' | '238' | '234' | '242' | '246' | '250' | '254' | '258' | '266' | '270' | '268' | '276' | '288' | '292' | '300' | '304' | '308' | '312' | '316' | '320' | '831' | '324' | '624' | '328' | '332' | '336' | '340' | '344' | '348' | '352' | '356' | '360' | '364' | '368' | '372' | '833' | '376' | '380' | '388' | '4014' | '832' | '400' | '398' | '404' | '296' | '410' | '414' | '417' | '418' | '428' | '422' | '426' | '430' | '434' | '438' | '440' | '442' | '446' | '450' | '454' | '458' | '462' | '466' | '470' | '474' | '478' | '480' | '484' | '583' | '498' | '492' | '496' | '499' | '504' | '508' | '104' | '516' | '524' | '528' | '540' | '554' | '558' | '562' | '566' | '408' | '578' | '512' | '586' | '585' | '275' | '591' | '598' | '600' | '604' | '608' | '616' | '620' | '630' | '634' | '807' | '638' | '642' | '643' | '646' | '659' | '662' | '670' | '882' | '674' | '682' | '686' | '688' | '690' | '694' | '702' | '703' | '705' | '90' | '706' | '710' | '724' | '144' | '729' | '740' | '748' | '752' | '756' | '760' | '158' | '762' | '834' | '764' | '626' | '768' | '776' | '780' | '788' | '792' | '795' | '796' | '784' | '800' | '804' | '826' | '840' | '858' | '850' | '860' | '548' | '862' | '704' | '876' | '887' | '894' | '716', required — The organization country code.

## Response `200`

OK

---

[API](https://skmtc.net/extremecloudiq/apis/extremecloud-iq-api.md) · [All operations](https://skmtc.net/extremecloudiq/apis/extremecloud-iq-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/extremecloudiq/extremecloud-iq-api/versions/5ff7ab84e8e8/schema)
