docs/IPBlocksApi.md in ionoscloud-6.0.0.beta.2 vs docs/IPBlocksApi.md in ionoscloud-6.0.0.beta.3
- old
+ new
@@ -12,11 +12,11 @@
| [**ipblocks_put**](IPBlocksApi.md#ipblocks_put) | **PUT** /ipblocks/{ipblockId} | Modify IP Block |
## ipblocks_delete
-> Object ipblocks_delete(ipblock_id, opts)
+> ipblocks_delete(ipblock_id, opts)
Delete IP Block
Removes the specific IP Block.
@@ -45,30 +45,29 @@
x_contract_number: 56 # Integer | Users having more than 1 contract need to provide contract number, against which all API requests should be executed
}
begin
# Delete IP Block
- result = api_instance.ipblocks_delete(ipblock_id, opts)
- p result
+ api_instance.ipblocks_delete(ipblock_id, opts)
rescue Ionoscloud::ApiError => e
puts "Error when calling IPBlocksApi->ipblocks_delete: #{e}"
end
```
#### Using the ipblocks_delete_with_http_info variant
-This returns an Array which contains the response data, status code and headers.
+This returns an Array which contains the response data (`nil` in this case), status code and headers.
-> <Array(Object, Integer, Hash)> ipblocks_delete_with_http_info(ipblock_id, opts)
+> <Array(nil, Integer, Hash)> ipblocks_delete_with_http_info(ipblock_id, opts)
```ruby
begin
# Delete IP Block
data, status_code, headers = api_instance.ipblocks_delete_with_http_info(ipblock_id, opts)
p status_code # => 2xx
p headers # => { ... }
- p data # => Object
+ p data # => nil
rescue Ionoscloud::ApiError => e
puts "Error when calling IPBlocksApi->ipblocks_delete_with_http_info: #{e}"
end
```
@@ -81,10 +80,10 @@
| **depth** | **Integer** | Controls the details depth of response objects. Eg. GET /datacenters/[ID] - depth=0: only direct properties are included. Children (servers etc.) are not included - depth=1: direct properties and children references are included - depth=2: direct properties and children properties are included - depth=3: direct properties and children properties and children's children are included - depth=... and so on | [optional][default to 0] |
| **x_contract_number** | **Integer** | Users having more than 1 contract need to provide contract number, against which all API requests should be executed | [optional] |
### Return type
-**Object**
+nil (empty response body)
### Authorization
Basic Authentication, Token Authentication