Sha256: 88cc84d801a2cdf651e8b0683b103b1819e8066cb01c9fa8acc889b7844a61ff

Contents?: true

Size: 1.17 KB

Versions: 214

Compression:

Stored size: 1.17 KB

Contents

# PulpcoreClient::OrphansApi

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

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

214 entries across 214 versions & 1 rubygems

Version Path
pulpcore_client-3.22.28 docs/OrphansApi.md
pulpcore_client-3.21.31 docs/OrphansApi.md
pulpcore_client-3.28.29 docs/OrphansApi.md
pulpcore_client-3.28.28 docs/OrphansApi.md
pulpcore_client-3.22.27 docs/OrphansApi.md
pulpcore_client-3.21.30 docs/OrphansApi.md
pulpcore_client-3.28.26 docs/OrphansApi.md
pulpcore_client-3.22.25 docs/OrphansApi.md
pulpcore_client-3.22.24 docs/OrphansApi.md
pulpcore_client-3.28.25 docs/OrphansApi.md
pulpcore_client-3.28.24 docs/OrphansApi.md
pulpcore_client-3.21.26 docs/OrphansApi.md
pulpcore_client-3.18.35 docs/OrphansApi.md
pulpcore_client-3.28.23 docs/OrphansApi.md
pulpcore_client-3.22.22 docs/OrphansApi.md
pulpcore_client-3.28.22 docs/OrphansApi.md
pulpcore_client-3.28.21 docs/OrphansApi.md
pulpcore_client-3.28.20 docs/OrphansApi.md
pulpcore_client-3.18.34 docs/OrphansApi.md
pulpcore_client-3.22.21 docs/OrphansApi.md