---
title: "POST /categories/{id}"
method: POST
path: "/categories/{id}"
---

# POST /categories/{id}

`POST /categories/{id}`

## Path parameters

- `id` integer, required

## Response `200`

Returns the data of the updated event category

- Term
  - `id` integer — The WordPress term ID
  - `name` string — The term name
  - `slug` string — The term slug
  - `taxonomy` string — The taxonomy the term belongs to
  - `description` string — The term description
  - `parent` integer — The term parent term if any
  - `count` integer — The number of posts associated with the term
  - `url` string — The URL to the term archive page
  - `urls` string[] — A list of links to the term own, archive and parent REST URL

## Other responses

- `201` — Returns the data of the created event category
- `400` — A required parameter is missing or an input parameter is in the wrong format
- `403` — The user is not authorized to create event categories

---

[API](https://skmtc.net/theeventscalendar/apis/the-events-calendar-rest-api.md) · [All operations](https://skmtc.net/theeventscalendar/apis/the-events-calendar-rest-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/theeventscalendar/the-events-calendar-rest-api/revisions/ec2e0a6a611b/schema)
