StatsHub Docs
Endpoint referenceCountry

/country/{slug}

PUT
/api/v2/country/{slug}

Path Parameters

slug*string

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/problem+json

application/problem+json

application/problem+json

curl -X PUT "https://example.com/api/v2/country/string" \  -H "Content-Type: application/json" \  -d '{    "alpha2": "string",    "name": "string",    "slug": "string"  }'
{  "$schema": "https://example.com/schemas/MessageEnvelope.json",  "message": "string"}