# Delete a content item

Deletes a content item and optionally all of its child items.

Endpoint: DELETE /api/v1/content/{itemId}
Version: v2.0
Security: HTTPBearer

## Security:

  - `HTTPBearer` (unknown)
    http bearer JWT

## Path parameters:

  - `itemId` (string, required)
    The unique identifier of the content item to be deleted.

## Query parameters:

  - `language` (string)
    The language version of the content item.

 **Note:** Deleting a content item removes the item across all language versions. The `language` parameter does not limit deletion to a specific language version.

## Header parameters:

  - `x-sc-job-id` (any)
    A unique identifier for the job, used to trace, audit, and revert actions performed by an AI agent through the Agent API.

## Response 200:

  - `200` (unknown)
    Successful response

## Response 200 fields (application/json):

  - `success` (boolean)
    Whether the content item was deleted successfully.
    Example: true

  - `deletedId` (string)
    The unique identifier of the deleted content item.
    Example: 3f2504e0-4f89-11d3-9a0c-0305e82c3301

## Response 422:

  - `422` (unknown)
    Unprocessable entity

## Response 422 fields (application/json):

  - `detail` (array)

  - `detail.loc` (array)
    The location of the error in the request.

  - `detail.msg` (string)
    The error message.

  - `detail.type` (string)
    The type of error.

  - `detail.input` (any)
    The input that caused the error.

  - `detail.ctx` (object)
    The context in which the error occurred.

