---
title: "Update the specified term"
method: PUT
path: "/v1/terms/{taxonomy}/{id}"
tags: ["Term"]
---

# Update the specified term

`PUT /v1/terms/{taxonomy}/{id}`

## Path parameters

- `taxonomy` string, required
- `id` integer, required

## Request body

- UpdateTermRequest
  - `name` string, required
  - `slug` string, nullable
  - `description` string, nullable
  - `parent_id` integer, nullable

## Response `200`

- object
  - `success` boolean, required
  - `message` string, required
  - `data` TermResource, required
    - `id` integer, required
    - `name` string, required
    - `slug` string, required
    - `description` string, nullable, required
    - `parent_id` integer, nullable, required
    - `taxonomy` string
    - `created_at` string, date-time, nullable, required
    - `updated_at` string, date-time, nullable, required
    - `posts_count` string
    - `children` TermResource[]
    - `parent` TermResource — recursive

## Other responses

- `401` — Unauthenticated
- `422` — Validation error

---

[API](https://skmtc.net/laradashboard/apis/lara-dashboard-api-documentation.md) · [All operations](https://skmtc.net/laradashboard/apis/lara-dashboard-api-documentation/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/laradashboard/lara-dashboard-api-documentation/versions/d1bec6a4d4ed/schema)
