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

# Delete a footer

> Delete a footer and its variants.

> [!NOTE]
>
> You cannot delete the team's default footer or a footer that emails use.


## OpenAPI

````yaml https://app.loops.so/openapi.json delete /v1/footers/{footerId}
openapi: 3.1.0
info:
  title: Loops OpenAPI Spec
  description: This is the OpenAPI Spec for the [Loops API](https://loops.so/docs/api).
  version: 1.24.0
servers:
  - url: https://app.loops.so/api
security: []
tags:
  - name: API key
  - name: Audience segments
    description: View and create audience segments
  - name: Campaigns
    description: Create and manage email campaigns
  - name: Campaign groups
    description: Organize campaigns into groups
  - name: Configuration
    description: View configuration settings
  - name: Contacts
    description: Manage contacts in your audience
  - name: Contact properties
    description: Manage contact properties
  - name: Components
    description: View email components
  - name: Email messages
    description: Manage email message content for campaigns
  - name: Events
    description: Trigger workflows with events
  - name: Event patterns
    description: View workflow event patterns
  - name: Footers
    description: Create and manage email footers
  - name: Mailing lists
    description: View mailing lists
  - name: Themes
    description: View email themes
  - name: Transactional emails
    description: Create, manage, and send transactional emails
  - name: Transactional groups
    description: Organize transactional emails into groups
  - name: Uploads
    description: Upload image assets
  - name: Workflows
    description: View and mutate workflow graphs
  - name: Workflow groups
    description: Organize workflows into groups
  - name: Workflow nodes
    description: View and mutate workflow nodes
  - name: Webhooks
    description: >-
      Events Loops sends to your configured webhook endpoint when certain events
      happen in your account. Configure an endpoint in Settings → Webhooks. Each
      account supports one webhook endpoint. Events are signed with
      `webhook-id`, `webhook-timestamp`, and `webhook-signature` headers and
      delivered at a maximum rate of 10 per second. See
      https://loops.so/docs/webhooks for setup, verification, and payload
      details.
paths:
  /v1/footers/{footerId}:
    parameters:
      - name: footerId
        in: path
        required: true
        description: The ID of the footer.
        schema:
          type: string
          examples:
            - clf0o1t2e3r4i5d6a7b8c9d0
    delete:
      tags:
        - Footers
      summary: Delete a footer
      description: >-
        Delete a footer and its variants. You cannot delete the team's default
        footer or a footer that emails use.
      operationId: deleteFooter
      responses:
        '204':
          description: Footer deleted. No response body.
        '400':
          description: Invalid `footerId`.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/FooterFailureResponse'
        '401':
          description: Invalid API key or footers not enabled for this team.
        '404':
          description: Footer not found.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/FooterFailureResponse'
        '405':
          description: Wrong HTTP request method.
        '409':
          description: The footer is the team's default footer, or emails use it.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/FooterDeleteFailureResponse'
      security:
        - apiKey: []
components:
  schemas:
    FooterFailureResponse:
      type: object
      properties:
        message:
          type: string
      required:
        - message
      examples:
        - message: Footer not found.
    FooterDeleteFailureResponse:
      type: object
      properties:
        message:
          type: string
        emailCount:
          type: number
          description: How many emails use the footer. Only when emails use the footer.
      required:
        - message
      examples:
        - message: 3 emails use the footer. Change their footer before you delete it.
          emailCount: 3
  securitySchemes:
    apiKey:
      type: http
      scheme: bearer

````

## Related topics

- [Footers](https://loops.so/docs/creating-emails/footers.md)
- [Update a footer](https://loops.so/docs/api-reference/update-footer.md)
- [Get a footer](https://loops.so/docs/api-reference/get-footer.md)
- [Create a footer](https://loops.so/docs/api-reference/create-footer.md)
- [Delete contacts](https://loops.so/docs/contacts/delete-contacts.md)
