Sha256: 42b5a5053ae01497884736c21e7f649ad23ce673b33bf53910d4cfd8f5a427c9

Contents?: true

Size: 1.38 KB

Versions: 67

Compression:

Stored size: 1.38 KB

Contents

# PulpcoreClient::RepositoriesReclaimSpaceApi

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

Method | HTTP request | Description
------------- | ------------- | -------------
[**reclaim**](RepositoriesReclaimSpaceApi.md#reclaim) | **POST** /pulp/api/v3/repositories/reclaim_space/ | 



## reclaim

> AsyncOperationResponse reclaim(reclaim_space)



Trigger an asynchronous space reclaim operation.

### 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::RepositoriesReclaimSpaceApi.new
reclaim_space = PulpcoreClient::ReclaimSpace.new # ReclaimSpace | 

begin
  result = api_instance.reclaim(reclaim_space)
  p result
rescue PulpcoreClient::ApiError => e
  puts "Exception when calling RepositoriesReclaimSpaceApi->reclaim: #{e}"
end
```

### Parameters


Name | Type | Description  | Notes
------------- | ------------- | ------------- | -------------
 **reclaim_space** | [**ReclaimSpace**](ReclaimSpace.md)|  | 

### Return type

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

### Authorization

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

### HTTP request headers

- **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data
- **Accept**: application/json

Version data entries

67 entries across 67 versions & 1 rubygems

Version Path
pulpcore_client-3.49.13 docs/RepositoriesReclaimSpaceApi.md
pulpcore_client-3.39.17 docs/RepositoriesReclaimSpaceApi.md
pulpcore_client-3.49.12 docs/RepositoriesReclaimSpaceApi.md
pulpcore_client-3.55.1 docs/RepositoriesReclaimSpaceApi.md
pulpcore_client-3.55.0 docs/RepositoriesReclaimSpaceApi.md
pulpcore_client-3.54.1 docs/RepositoriesReclaimSpaceApi.md
pulpcore_client-3.49.11 docs/RepositoriesReclaimSpaceApi.md
pulpcore_client-3.39.16 docs/RepositoriesReclaimSpaceApi.md
pulpcore_client-3.49.6 docs/RepositoriesReclaimSpaceApi.md
pulpcore_client-3.53.0 docs/RepositoriesReclaimSpaceApi.md
pulpcore_client-3.51.3 docs/RepositoriesReclaimSpaceApi.md
pulpcore_client-3.52.0 docs/RepositoriesReclaimSpaceApi.md
pulpcore_client-3.51.2 docs/RepositoriesReclaimSpaceApi.md
pulpcore_client-3.49.5 docs/RepositoriesReclaimSpaceApi.md
pulpcore_client-3.39.13 docs/RepositoriesReclaimSpaceApi.md
pulpcore_client-3.51.1 docs/RepositoriesReclaimSpaceApi.md
pulpcore_client-3.50.3 docs/RepositoriesReclaimSpaceApi.md
pulpcore_client-3.49.4 docs/RepositoriesReclaimSpaceApi.md
pulpcore_client-3.51.0 docs/RepositoriesReclaimSpaceApi.md
pulpcore_client-3.50.2 docs/RepositoriesReclaimSpaceApi.md