Endpoint referenceCategory
/category
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 POST "https://example.com/api/v2/category" \ -H "Content-Type: application/json" \ -d '{ "alpha2": "string", "flag": "string", "id": 0, "name": "string", "slug": "string" }'{ "$schema": "https://example.com/schemas/CategoryCreateCreatedBody.json", "id": 0, "message": "string", "name": "string"}