Skip to navigation

Delete Region

This feature is in beta and may change. Requests return 403 until the feature flag is enabled for your site or workspace.

Deletes a region in one locale. Only the draft changes: the live site changes when you publish.

Authentication

x-api-keystring

API key authentication with an App API key (e.g. sk_eczMHVBY9fV6GYFhvs53qcnxq7yptlXL3ABKOZtn6dQ).

Path parameters

idstringRequired

The region ID. URL-encode it if it contains reserved characters such as / or $.

Query parameters

siteIdstringRequiredformat: "uuid"
The site ID the region belongs to.
localestringOptional

The locale to delete the region in. Accepts either a locale code (e.g. en-US) or a site_locale UUID. Defaults to the site’s default locale.

Response

Errors

400
Bad Request Error
403
Forbidden Error
404
Not Found Error
409
Conflict Error