---
title: "Add a list of regions to an On Demand page"
method: PUT
path: "/ondemand/pages/{ondemand_id}/regions"
tags: ["On Demand\\Regions"]
---

# Add a list of regions to an On Demand page

`PUT /ondemand/pages/{ondemand_id}/regions`

## Request

- Base URL: `https://api.vimeo.com`
- URL: `https://api.vimeo.com/ondemand/pages/{ondemand_id}/regions`
- Auth: OAuth 2
  - Authorization code: `/oauth/authorize`, token URL `/oauth/access_token`
  - Client credentials, token URL `/oauth/authorize/client`
  - Scopes: `edit`
- TypeScript: <https://skmtc.dev/vimeo/apis/vimeo-api/docs/ondemand/pages/:ondemand_id/regions/put.ts> (a function with typed inputs; its response is checked against the schema)

Information about this method appears below.

## Path parameters

- `ondemand_id` number, required

## Request body

- object
  - `countries` string[], required: An array of country codes.

## Response `200`

The list of regions was set.

- OnDemandRegion
  - `country_code` string, required: The ISO 3166-1 alpha-2 code for this country.
  - `country_name` string, required: The descriptive name of this country.
  - `uri` string, required: The region container's relative URI.

## Other responses

- `403`: You can't modify an On Demand page that you don't own.
- `404`: No such On Demand page or region exists.

---

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