> ## Documentation Index
> Fetch the complete documentation index at: https://developers.octaviatech.app/llms.txt
> Use this file to discover all available pages before exploring further.

# Delete Author

> How to permanently delete an author from Octavia AI CMS.

Deleting an author **permanently removes** their profile and all related metadata from your workspace.\
This action **cannot be undone**, and any articles linked to this author will lose their reference — those articles must be reassigned to another author before deletion.

***

## Rules

* ✅ `id` is required to identify the author to delete
* ⚠️ Articles associated with this author should be reassigned first
* ❌ Deleted authors cannot be restored or recovered later
* ❌ Deleting an active author without reassignment may cause missing references in articles

***

## Validation & Behavior

* Once deleted, the author’s data and localized fields are permanently removed
* Attempting to delete a non-existent author returns a `404 Not Found` response
* Soft-deletion is not supported for authors — the deletion is immediate and irreversible
* To temporarily disable an author, use `isActive: false` instead of deleting them


## OpenAPI

````yaml DELETE /authors/delete/{id}
openapi: 3.1.0
info:
  title: Blog API
  version: 1.0.0
servers:
  - url: https://api.octaviatech.app/cms
    description: Production
security:
  - ApiKeyAuth: []
tags: []
paths:
  /authors/delete/{id}:
    delete:
      tags:
        - Authors
      summary: Delete author
      parameters:
        - in: path
          name: id
          required: true
          schema:
            type: string
            pattern: ^[a-fA-F0-9]{24}$
            example: '{{objectId}}'
      responses:
        '200':
          description: Deleted
          content:
            application/json:
              examples:
                Deleted:
                  value:
                    success: true
                    statusCode: 200
                    message: Deleted
                    data: null
        '401':
          description: Unauthorized
          content:
            application/json:
              examples:
                Unauthorized:
                  value:
                    success: false
                    statusCode: 401
                    message: Unauthorized
                    data: null
        '403':
          description: Forbidden
          content:
            application/json:
              examples:
                Forbidden:
                  value:
                    success: false
                    statusCode: 403
                    message: Forbidden
                    data: null
        '404':
          description: Not found
          content:
            application/json:
              examples:
                NotFound:
                  value:
                    success: false
                    statusCode: 404
                    message: Not found
                    data: null
        '500':
          description: Server error
          content:
            application/json:
              examples:
                ServerError:
                  value:
                    success: false
                    statusCode: 500
                    message: Internal server error
                    data: null
      security:
        - ApiKeyAuth: []
components:
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: x-api-key

````