Sha256: 657c66d288dae92f215bb976d5e941bc1bed2932b24764b93aeba6ef77d01885

Contents?: true

Size: 1.18 KB

Versions: 79

Compression:

Stored size: 1.18 KB

Contents

# PulpcoreClient::OrphansApi

All URIs are relative to *http://localhost:24817*

Method | HTTP request | Description
------------- | ------------- | -------------
[**delete**](OrphansApi.md#delete) | **DELETE** /pulp/api/v3/orphans/ | Delete orphans



## delete

> AsyncOperationResponse delete

Delete orphans

DEPRECATED! Trigger an asynchronous task that deletes all orphaned content and artifacts. Use the `POST /pulp/api/v3/orphans/cleanup/` call instead.

### Example

```ruby
# load the gem
require 'pulpcore_client'
# setup authorization
PulpcoreClient.configure do |config|
  # Configure HTTP basic authorization: basicAuth
  config.username = 'YOUR USERNAME'
  config.password = 'YOUR PASSWORD'
end

api_instance = PulpcoreClient::OrphansApi.new

begin
  #Delete orphans
  result = api_instance.delete
  p result
rescue PulpcoreClient::ApiError => e
  puts "Exception when calling OrphansApi->delete: #{e}"
end
```

### Parameters

This endpoint does not need any parameter.

### Return type

[**AsyncOperationResponse**](AsyncOperationResponse.md)

### Authorization

[basicAuth](../README.md#basicAuth)

### HTTP request headers

- **Content-Type**: Not defined
- **Accept**: application/json

Version data entries

79 entries across 79 versions & 1 rubygems

Version Path
pulpcore_client-3.63.12 docs/OrphansApi.md
pulpcore_client-3.49.34 docs/OrphansApi.md
pulpcore_client-3.39.26 docs/OrphansApi.md
pulpcore_client-3.28.37 docs/OrphansApi.md
pulpcore_client-3.49.33 docs/OrphansApi.md
pulpcore_client-3.63.11 docs/OrphansApi.md
pulpcore_client-3.63.10 docs/OrphansApi.md
pulpcore_client-3.49.32 docs/OrphansApi.md
pulpcore_client-3.63.9 docs/OrphansApi.md
pulpcore_client-3.69.2 docs/OrphansApi.md
pulpcore_client-3.49.31 docs/OrphansApi.md
pulpcore_client-3.63.8 docs/OrphansApi.md
pulpcore_client-3.69.1 docs/OrphansApi.md
pulpcore_client-3.28.36 docs/OrphansApi.md
pulpcore_client-3.49.30 docs/OrphansApi.md
pulpcore_client-3.39.25 docs/OrphansApi.md
pulpcore_client-3.22.35 docs/OrphansApi.md
pulpcore_client-3.63.7 docs/OrphansApi.md
pulpcore_client-3.49.29 docs/OrphansApi.md
pulpcore_client-3.49.28 docs/OrphansApi.md