Routes
Regions

Update Region

Updates a region.

Parameters:

ParameterInTypeRequiredDefaultDescription
regionIDpathintegeryesRegion identifier
namebodystringnoNew name
parentRegionIDbodyintegernoNew parent (≥ 0; use 0 to remove parent). Values greater than 0 must be an existing region ID for your account.

Responses:

  • 200 OK: { success: true }
  • 400 Bad Request: { success: false, message: "No fields to update" } when the request body omits both name and parentRegionID.
  • 400 Bad Request: { success: false, message: "A region cannot be its own parent" } when parentRegionID equals regionID.
  • 400 Bad Request: { success: false, message: "Invalid parentRegionID" } when parentRegionID is greater than 0 but no matching region exists for your account.
patch/v2/regions/{regionID}

Request

Response

The operation completed successfully. The response body is empty.

Changes

No recorded changes to this operation across all 4 revisions of this API.