StatsHub Docs
APIAPI v2V2 endpoint referenceRegions

/regions/{regionId}

Updates a region.

PUT
/regions/{regionId}

Updates a region.

Path Parameters

regionId*string

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/problem+json

application/problem+json

curl -X PUT "https://example.com/regions/string" \  -H "Content-Type: application/json" \  -d '{    "alpha2": "string",    "flag": "string",    "id": 0,    "name": "string",    "slug": "string"  }'
{  "message": "string"}