# Delete plugin source

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

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

Authentication: no security requirement declared for this operation.

Parameters:

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

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

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

Responses:

- 200: Plugin source deleted successfully.

- 401: Unauthorized access.

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

- 404: Plugin source record not found.

## Examples

### cURL

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

### JavaScript

```javascript
const response = await fetch('http://localhost:3000/api/plugins/550e8400-e29b-41d4-a716-446655440000/versions/550e8400-e29b-41d4-a716-446655440000/sources/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/versions/550e8400-e29b-41d4-a716-446655440000/sources/550e8400-e29b-41d4-a716-446655440000')
print(response.text)
```
