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

# Delete a plugin

> Delete a plugin organization.



## OpenAPI

````yaml api-reference/openapi.yaml delete /plugins/{slug}
openapi: 3.0.0
info:
  title: Repository Endpoints
  description: >-
    To interract with API, you will need to provide a valid API Key generated on
    [https://dashboard.wp-content.io/](https://dashboard.wp-content.io/).


    Scope will be indicated in each sections. The REST API is build on CRUD
    model and each permission of scope is linked to a method :


    | **Method** | **Permission** |

    | --- | --- |

    | GET | read |

    | PATCH | update |

    | POST | create |

    | DELETE | delete |
  version: 1.0.0
servers:
  - url: https://registry.wp-content.io
security:
  - ApiKeyAuth: []
tags:
  - name: Repository
  - name: Plugins
    description: >-
      This section presents all the endpoints for managing plugins and their
      versions.  


      Scope required : `plugins`
  - name: Plugin Versions
  - name: Themes
    description: >-
      This section presents all the endpoints for managing plugins and their
      versions.  


      Scope required : `plugins`
  - name: Theme Versions
paths:
  /plugins/{slug}:
    delete:
      tags:
        - Plugins
      summary: Delete a plugin
      description: Delete a plugin organization.
      parameters:
        - name: slug
          in: path
          schema:
            type: string
          required: true
          description: Slug of plugin
          example: my-plugin
      responses:
        '200':
          description: OK
          headers:
            Date:
              schema:
                type: string
                example: Wed, 11 Jun 2025 09:10:48 GMT
            Server:
              schema:
                type: string
                example: Apache
            Cache-Control:
              schema:
                type: string
                example: no-store, max-age=0, no-cache
            Access-Control-Allow-Origin:
              schema:
                type: string
                example: '*'
            Debugbar-Time:
              schema:
                type: number
                example: '1749633049.066147'
            Debugbar-Link:
              schema:
                type: string
                example: >-
                  http://localhost:8080/index.php?debugbar_time=1749633049.066147
            Content-Length:
              schema:
                type: integer
                example: '1093'
            Keep-Alive:
              schema:
                type: string
                example: timeout=5, max=100
            Connection:
              schema:
                type: string
                example: Keep-Alive
            Content-Type:
              schema:
                type: string
                example: application/json; charset=UTF-8
          content:
            application/json:
              schema:
                type: object
              example:
                name: My Plugin
                slug: my-plugin
                version: 1.0.0
                author: <a href="https://example.com" target="_blank">ACME</a>
                author_profile: https://example.com
                short_description: ''
                rating: 0
                num_ratings: 0
                active_installs: 0
                requires: ''
                tested: null
                requires_php: ''
                download_link: >-
                  https://wp-content-staging.s3.fr-par.scw.cloud/artifacts/plugins/my-plugin/my-plugin-1.0.0-81ae9121fde9f29c489c72dd3d8d9377.zip
                icons:
                  default: http://localhost:8080/images/icon-placeholder.png
                added: '2025-06-11'
                last_updated: 2025-06-11 9:08am UTC
                banners:
                  low: https://placehold.co/772x250
                  high: https://placehold.co/1544x500
        '404':
          description: Not Found
          headers:
            Date:
              schema:
                type: string
                example: Wed, 11 Jun 2025 09:11:42 GMT
            Server:
              schema:
                type: string
                example: Apache
            Cache-Control:
              schema:
                type: string
                example: no-store, max-age=0, no-cache
            Access-Control-Allow-Origin:
              schema:
                type: string
                example: '*'
            Debugbar-Time:
              schema:
                type: number
                example: '1749633102.435443'
            Debugbar-Link:
              schema:
                type: string
                example: >-
                  http://localhost:8080/index.php?debugbar_time=1749633102.435443
            Content-Length:
              schema:
                type: integer
                example: '101'
            Keep-Alive:
              schema:
                type: string
                example: timeout=5, max=100
            Connection:
              schema:
                type: string
                example: Keep-Alive
            Content-Type:
              schema:
                type: string
                example: application/json; charset=UTF-8
          content:
            application/json:
              schema:
                type: object
              example:
                status: 404
                error: 404
                messages:
                  error: Plugin not found.
components:
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: X-API-KEY

````