Tags
Create tag
Creates a new tag. If a tag with the same name already exists, a conflict error is returned.
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
curl -X POST "https://example.com/tag" \ -H "Content-Type: application/json" \ -d '{ "name": "Events", "description": "Company events and offsites." }'{ "id": 1, "name": "Events", "description": "Company events and offsites."}{ "code": "string", "error": "string", "issues": [ { "message": "string", "path": "string" } ]}