---
title: "Set the country the device connects from (time zone and locale follow)"
method: POST
path: "/devices/{name}/network"
tags: ["Network"]
---

# Set the country the device connects from (time zone and locale follow)

`POST /devices/{name}/network`

## Request

- Base URL: `https://api.clousd.com/v1`
- URL: `https://api.clousd.com/v1/devices/{name}/network`
- Auth: HTTP bearer

## Request body

- object
  - `type` string
  - `country` string
  - `url` string: own proxy: socks5:// or http://

## Response `202`

Long operation started

- JobAccepted
  - `ok` boolean
  - `job` Job
    - `id` string
    - `kind` string
    - `phone` string
    - `state` 'running' | 'done' | 'failed'
    - `started` string, date-time
    - `done` string, date-time
    - `output` string

---

[API](https://skmtc.dev/clousd/apis/clousd-api.md) · [All operations](https://skmtc.dev/clousd/apis/clousd-api/llms.txt) · [OpenAPI document](https://skmtc.dev/clousd/apis/clousd-api/revisions/0291ffd26ae3?raw)
