---
title: "Update target cities"
method: PUT
path: "/api/sites/multiscreen/{site_name}/aeo/cities"
tags: ["AEO Settings"]
---

# Update target cities

`PUT /api/sites/multiscreen/{site_name}/aeo/cities`

## Request

- Base URL: `https://api.duda.co`
- URL: `https://api.duda.co/api/sites/multiscreen/{site_name}/aeo/cities`
- Auth: HTTP basic

Replaces the cities the site's project targets for local visibility, and returns the new list. Other settings are unchanged. An empty list targets the primary market's whole country instead.

## Path parameters

- `site_name` string, required

## Request body

- ApiAeoCities
  - `cities` string[], required: Up to 5 cities to target for local visibility.

## Response `200`

OK

- ApiAeoCities
  - `cities` string[], required: Up to 5 cities to target for local visibility.

## Other responses

- `400`: Bad request. `error_code` is `InvalidInput` and `errors` is empty. - `cities` is missing, has more than 5 entries, or contains a blank entry.
- `401`: Unauthorized. The credentials are missing or invalid.
- `403`: Forbidden. `error_code` is `AccessForbidden`, and `errors[0].code` names the cause: - No code (`errors` is empty): the caller can't access the site. - `AeoPlanNotFound`: the account has no active AEO plan.
- `404`: Not found. `error_code` is `ResourceNotExist`, and `errors[0].code` names the cause: - `AeoProjectNotFound`: the site has no AEO project.
- `429`: Too many requests. The rate limit was exceeded.

---

[API](https://skmtc.dev/duda/apis/duda-partner-api.md) - [All operations](https://skmtc.dev/duda/apis/duda-partner-api/llms.txt) - [OpenAPI document](https://skmtc.dev/duda/apis/duda-partner-api/revisions/52be4d41cb12?raw)
