# Delete plugin

`DELETE /api/plugins/{pluginId}/versions/{versionId}`

Soft removes a plugin version from the system based on the provided ID.

Authentication: no security requirement declared for this operation.

Parameters:

- `versionId` (path, string, required)
  Type: string

- `pluginId` (path, string, required)
  Type: string

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

Responses:

- 200: Plugin version deleted successfully.

- 401: Unauthorized access.

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

- 404: Plugin version record not found.

## Examples

### cURL

```bash
curl -X DELETE 'http://localhost:3000/api/plugins/string/versions/string'
```

### JavaScript

```javascript
const response = await fetch('http://localhost:3000/api/plugins/string/versions/string', {
  method: 'DELETE',
});

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

### Python

```python
import requests

response = requests.delete('http://localhost:3000/api/plugins/string/versions/string')
print(response.text)
```
