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

# Delete Audience



## OpenAPI

````yaml api-reference/openapi.json delete /audiences/{id}
openapi: 3.0.0
info:
  title: OpenAPI Documentation Amisend
  version: 1.0.0
servers:
  - url: https://api.amisend.com
  - url: http://localhost:3015/api
security: []
tags: []
paths:
  /audiences/{id}:
    delete:
      tags:
        - Audience
      summary: Delete Audience
      parameters:
        - in: path
          name: id
          required: true
          schema:
            type: string
          description: ID of the audience
      responses:
        '201':
          description: Audience deleted successfully
          content:
            application/json:
              schema:
                type: object
                properties:
                  message:
                    type: string
                    example: Audience deleted
        '401':
          description: Unauthorized
        '404':
          description: Audience not found
        '500':
          description: Error deleting audience
      security:
        - bearerAuth: []
components:
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT

````