Sha256: 1de8d867be39232314d754ce7d2fed17731fd8320280edf46ac7cdce5bdcf8c1

Contents?: true

Size: 1.1 KB

Versions: 30

Compression:

Stored size: 1.1 KB

Contents

# PulpcoreClient::OrphansApi

All URIs are relative to *http://pulp*

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



## delete

> AsyncOperationResponse delete

Delete orphans

Trigger an asynchronous task that deletes allorphaned content and artifacts.

### 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

30 entries across 30 versions & 1 rubygems

Version Path
pulpcore_client-3.7.9 docs/OrphansApi.md
pulpcore_client-3.7.8 docs/OrphansApi.md
pulpcore_client-3.7.7 docs/OrphansApi.md
pulpcore_client-3.11.2 docs/OrphansApi.md
pulpcore_client-3.13.0 docs/OrphansApi.md
pulpcore_client-3.12.2 docs/OrphansApi.md
pulpcore_client-3.11.1 docs/OrphansApi.md
pulpcore_client-3.7.6 docs/OrphansApi.md
pulpcore_client-3.12.1 docs/OrphansApi.md
pulpcore_client-3.7.5.post0 docs/OrphansApi.md
pulpcore_client-3.7.5 docs/OrphansApi.md
pulpcore_client-3.12.0 docs/OrphansApi.md
pulpcore_client-3.11.0.post0 docs/OrphansApi.md
pulpcore_client-3.11.0 docs/OrphansApi.md
pulpcore_client-3.7.4 docs/OrphansApi.md
pulpcore_client-3.10.0 docs/OrphansApi.md
pulpcore_client-3.9.1 docs/OrphansApi.md
pulpcore_client-3.9.0 docs/OrphansApi.md
pulpcore_client-3.6.5.post2 docs/OrphansApi.md
pulpcore_client-3.8.1 docs/OrphansApi.md