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

# Delete Style Guides

> Deletes the listed Style Guides and all of their versions. Partial success is possible; the response reports the deleted count and per-item failures.



## OpenAPI

````yaml /openapi/phrase-style-guides.json delete /api/v1/styleguides
openapi: 3.1.0
info:
  version: 1.0.0
  title: Style Guide API
  description: REST API for managing Style Guides on the Phrase Platform
  contact:
    name: Linguistic Assets
    email: engineering@phrase.com
servers:
  - url: https://eu.phrase.com/styleguide
    description: Production
  - url: http://localhost:18062
    description: Local development
security:
  - bearerAuth: []
tags:
  - name: Style Guide
    description: Public API for managing Style Guides
paths:
  /api/v1/styleguides:
    delete:
      tags:
        - Style Guide
      summary: Delete Style Guides
      description: >-
        Deletes the listed Style Guides and all of their versions. Partial
        success is possible; the response reports the deleted count and per-item
        failures.
      operationId: deleteStyleGuides
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/DeleteStyleGuidesRequest'
        required: true
      responses:
        '200':
          description: Style Guides deleted successfully (partial success possible)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DeleteStyleGuidesResponse'
        '400':
          description: >-
            Invalid request data. Error codes: VALIDATION_ERROR,
            INVALID_ARGUMENT.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Unauthorized - Invalid or missing authentication token
        '403':
          description: >-
            Forbidden - Insufficient permissions or accessing Style Guide from
            another organization. Error codes: ACCESS_DENIED.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '500':
          description: Internal server error.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
components:
  schemas:
    DeleteStyleGuidesRequest:
      type: object
      properties:
        ids:
          type: array
          items:
            type: string
            format: uuid
          maxItems: 50
          minItems: 0
      required:
        - ids
    DeleteStyleGuidesResponse:
      type: object
      properties:
        deletedCount:
          type: integer
          format: int32
        failures:
          type: array
          items:
            $ref: '#/components/schemas/FailedDeletion'
    ErrorResponse:
      type: object
      properties:
        code:
          type: string
        message:
          type: string
        detail:
          type: string
    FailedDeletion:
      type: object
      description: A single failed Style Guide deletion
      properties:
        id:
          type: string
          format: uuid
          description: Style Guide ID that could not be deleted
        name:
          type: string
          description: Style Guide name when available (null if not found)
        errorCode:
          type: string
          description: Error code indicating the failure reason
          enum:
            - STYLEGUIDE_NOT_FOUND
            - STYLEGUIDE_DELETION_FAILED
        errorMessage:
          type: string
          description: Human-readable error message
      required:
        - errorCode
        - errorMessage
        - id
  securitySchemes:
    bearerAuth:
      type: http
      description: 'JWT from IDM (Authorization: Bearer <token>)'
      scheme: bearer
      bearerFormat: JWT

````