Create Regions
This feature is in beta and may change. Requests return 403 until the feature flag is enabled for your site or workspace.
Creates up to 1000 regions, each like Create Region. Each region is created on its own: the response has one result per region, in request order, and a region that fails does not stop the others.
Regions in the default locale are created before regions in site locales, so a region in a site locale may come before its default locale’s region in the batch.
Authentication
x-api-keystring
API key authentication. Accepts either:
- App API key (e.g. sk_eczMHVBY9fV6GYFhvs53qcnxq7yptlXL3ABKOZtn6dQ)
- Site API key (UUID format, e.g. 550e8400-e29b-41d4-a716-446655440000)
Request
This endpoint expects an object.
siteId
The site ID to create the regions in.
regions
The regions to create, each like the body of Create Region.
Response
OR
Errors
400
Bad Request Error
403
Forbidden Error
404
Not Found Error