---
title: "Update Blog category"
method: PUT
path: "/blog-category/{id}"
tags: ["Blog category"]
---

# Update Blog category

`PUT /blog-category/{id}`

## Request

- Base URL: `https://sdukstudio.com/api`
- URL: `https://sdukstudio.com/api/blog-category/{id}`
- Auth: HTTP bearer

## Request body

- BlogCategoryInput
  - `code` string, slug, required
  - `name` string, required

## Response `200`

The updated Blog category

- BlogCategory
  - `blog_category_id` integer
  - `code` string, slug
  - `name` string
  - `created_at` string, date-time
  - `updated_at` string, date-time

## Other responses

- `400`: Validation error
- `404`: Not found

---

[API](https://skmtc.dev/sdukstudio/apis/sduk-studio-info-site-api.md) · [All operations](https://skmtc.dev/sdukstudio/apis/sduk-studio-info-site-api/llms.txt) · [OpenAPI document](https://skmtc.dev/sdukstudio/apis/sduk-studio-info-site-api/revisions/d7877b33dad3?raw)
