# Delete plugin

`DELETE /api/plugins/{id}`

Permanently removes a plugin from the system based on the provided ID.

Authentication (security requirement alternatives):

```json
[
  {
    "api_key": []
  },
  {
    "Bearer": []
  }
]
```

- api_key
- Bearer

Parameters:

- `id` (path, string, uuid, required) - UUID of the plugin to delete
  Type: string, uuid

Responses:

- 200: Plugin deleted successfully.

- 401: Unauthorized access.

- 403: User does not have permission to delete this plugin.

- 404: Plugin record not found.

## Examples

### cURL

```bash
curl -X DELETE 'http://localhost:3000/api/plugins/550e8400-e29b-41d4-a716-446655440000'
```

### JavaScript

```javascript
const response = await fetch('http://localhost:3000/api/plugins/550e8400-e29b-41d4-a716-446655440000', {
  method: 'DELETE',
});

const data = await response.text();
```

### Python

```python
import requests

response = requests.delete('http://localhost:3000/api/plugins/550e8400-e29b-41d4-a716-446655440000')
print(response.text)
```
