StatsHub Docs
APIEndpoint referenceCategory

/category/{id}

PUT
/api/category/{id}

Path Parameters

id*integer
Formatint64

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

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