Update Regions
This feature is in beta and may change. Requests return 403 until the feature flag is enabled for your site or workspace.
Updates up to 1000 regions, each like Update Region. The response has one result per region, in request order: the updated region, or the error that kept it from being updated. An error in one region does not keep the others from being updated. Only an error in the request itself, such as an invalid body, rejects the whole batch.
The request body is limited to 500 KB, and a larger one is rejected with 413, so a request with element trees may hold fewer regions than that.
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 update the regions in.
regions
The regions to update.
Response
OR
Errors
400
Bad Request Error
403
Forbidden Error
404
Not Found Error