> ## Documentation Index
> Fetch the complete documentation index at: https://docs.capedigital.co.ke/llms.txt
> Use this file to discover all available pages before exploring further.

# Update story category

> Update a {self.verbose_name}



## OpenAPI

````yaml /openapi/content.yaml put /api/v1/story-categories/{id}
openapi: 3.0.3
info:
  title: Content Service API
  version: 1.0.0
  description: |2-

        **Content Service API** - Comprehensive content(story) and management system.
        
servers:
  - url: https://api.capedigital.co.ke/content
    description: Production
  - url: http://localhost:8000
    description: Local
security: []
paths:
  /api/v1/story-categories/{id}:
    put:
      tags:
        - Story Categories
      summary: Update story category
      description: Update a {self.verbose_name}
      operationId: categories_update
      parameters:
        - in: path
          name: id
          schema:
            type: string
            format: uuid
          description: A UUID string identifying this Story Category.
          required: true
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/StoryCategoryRequest'
            examples:
              CreateCategory:
                value:
                  name: Politics
                  description: Political news and affairs
                summary: Create category
          application/x-www-form-urlencoded:
            schema:
              $ref: '#/components/schemas/StoryCategoryRequest'
          multipart/form-data:
            schema:
              $ref: '#/components/schemas/StoryCategoryRequest'
        required: true
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/StoryCategory'
          description: ''
      security:
        - bearerAuth: []
components:
  schemas:
    StoryCategoryRequest:
      type: object
      properties:
        name:
          type: string
          minLength: 1
          description: name of story category
          maxLength: 100
        description:
          type: string
          minLength: 1
          description: description of the category
      required:
        - description
        - name
    StoryCategory:
      type: object
      properties:
        id:
          type: string
          format: uuid
          readOnly: true
        name:
          type: string
          description: name of story category
          maxLength: 100
        description:
          type: string
          description: description of the category
        created_at:
          type: string
          format: date-time
          readOnly: true
        updated_at:
          type: string
          format: date-time
          readOnly: true
      required:
        - created_at
        - description
        - id
        - name
        - updated_at
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT
      description: 'Enter your JWT token in the format: Bearer <token>'

````