Skip to content

Commit ab7871c

Browse files
chore: sdk update
1 parent d650fa9 commit ab7871c

923 files changed

Lines changed: 932 additions & 1133 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

README.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -589,7 +589,6 @@ Class | Method | HTTP request | Description
589589
- [HostingV1PhpUpdatePhpOptionsRequestOptionsValue](docs/HostingV1PhpUpdatePhpOptionsRequestOptionsValue.md)
590590
- [HostingV1PhpUpdatePhpVersionRequest](docs/HostingV1PhpUpdatePhpVersionRequest.md)
591591
- [HostingV1WebsitesCreateWebsiteRequest](docs/HostingV1WebsitesCreateWebsiteRequest.md)
592-
- [HostingV1WebsitesDeleteWebsiteRequest](docs/HostingV1WebsitesDeleteWebsiteRequest.md)
593592
- [HostingV1WebsitesWebsiteResource](docs/HostingV1WebsitesWebsiteResource.md)
594593
- [InlineObject](docs/InlineObject.md)
595594
- [InlineObject1](docs/InlineObject1.md)

docs/HostingV1WebsitesDeleteWebsiteRequest.md

Lines changed: 0 additions & 29 deletions
This file was deleted.

docs/HostingWebsitesApi.md

Lines changed: 6 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -92,19 +92,17 @@ Name | Type | Description | Notes
9292
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
9393

9494
# **delete_website_v1**
95-
> CommonSuccessEmptyResource delete_website_v1(domain, hosting_v1_websites_delete_website_request)
95+
> CommonSuccessEmptyResource delete_website_v1(domain)
9696
9797
Delete website
9898

99-
Permanently deletes a website and all of its data. This action is destructive
100-
and cannot be undone. Always ask the user for explicit confirmation before
101-
calling this endpoint.
99+
This endpoint permanently removes a website and all of its data. This action
100+
cannot be undone. Before calling it, make sure the user understands the
101+
consequences and explicitly confirms that they want to proceed.
102102

103103
All website files, databases and related configuration will be removed.
104104
The hosting plan itself is kept, so a new website can be created on it afterwards.
105105

106-
The confirm field must be boolean true, otherwise the request is rejected.
107-
108106
Supported websites: main and addon domain websites on web hosting plans, and
109107
Website Builder websites. Parked domains and subdomains cannot be deleted with
110108
this endpoint. The domain must be the exact website domain, not a preview
@@ -123,7 +121,6 @@ complete. The response returns before the removal finishes.
123121
```python
124122
import hostinger_api
125123
from hostinger_api.models.common_success_empty_resource import CommonSuccessEmptyResource
126-
from hostinger_api.models.hosting_v1_websites_delete_website_request import HostingV1WebsitesDeleteWebsiteRequest
127124
from hostinger_api.rest import ApiException
128125
from pprint import pprint
129126

@@ -138,11 +135,10 @@ with hostinger_api.ApiClient(configuration) as api_client:
138135
# Create an instance of the API class
139136
api_instance = hostinger_api.HostingWebsitesApi(api_client)
140137
domain = 'mydomain.tld' # str | Domain name
141-
hosting_v1_websites_delete_website_request = hostinger_api.HostingV1WebsitesDeleteWebsiteRequest() # HostingV1WebsitesDeleteWebsiteRequest |
142138

143139
try:
144140
# Delete website
145-
api_response = api_instance.delete_website_v1(domain, hosting_v1_websites_delete_website_request)
141+
api_response = api_instance.delete_website_v1(domain)
146142
print("The response of HostingWebsitesApi->delete_website_v1:\n")
147143
pprint(api_response)
148144
except Exception as e:
@@ -157,7 +153,6 @@ with hostinger_api.ApiClient(configuration) as api_client:
157153
Name | Type | Description | Notes
158154
------------- | ------------- | ------------- | -------------
159155
**domain** | **str**| Domain name |
160-
**hosting_v1_websites_delete_website_request** | [**HostingV1WebsitesDeleteWebsiteRequest**](HostingV1WebsitesDeleteWebsiteRequest.md)| |
161156

162157
### Return type
163158

@@ -169,7 +164,7 @@ Name | Type | Description | Notes
169164

170165
### HTTP request headers
171166

172-
- **Content-Type**: application/json
167+
- **Content-Type**: Not defined
173168
- **Accept**: application/json
174169

175170
### HTTP response details

hostinger_api/__init__.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,14 @@
55
"""
66
Hostinger API Python SDK
77
8-
API Version: 1.32.0
8+
API Version: 1.32.1
99
1010
NOTE: This file is auto-generated, DO NOT EDIT THIS FILE MANUALLY!
1111
If you want to contribute or request a new feature, please create an issue or pull request on https://github.com/hostinger/api
1212
""" # noqa: E501
1313

1414

15-
__version__ = "3.29.0"
15+
__version__ = "3.29.1"
1616

1717
# import apis into sdk package
1818
from hostinger_api.api.agency_hosting_cache_api import AgencyHostingCacheApi
@@ -296,7 +296,6 @@
296296
from hostinger_api.models.hosting_v1_php_update_php_options_request_options_value import HostingV1PhpUpdatePhpOptionsRequestOptionsValue
297297
from hostinger_api.models.hosting_v1_php_update_php_version_request import HostingV1PhpUpdatePhpVersionRequest
298298
from hostinger_api.models.hosting_v1_websites_create_website_request import HostingV1WebsitesCreateWebsiteRequest
299-
from hostinger_api.models.hosting_v1_websites_delete_website_request import HostingV1WebsitesDeleteWebsiteRequest
300299
from hostinger_api.models.hosting_v1_websites_website_resource import HostingV1WebsitesWebsiteResource
301300
from hostinger_api.models.inline_object import InlineObject
302301
from hostinger_api.models.inline_object1 import InlineObject1

hostinger_api/api/agency_hosting_cache_api.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"""
44
Hostinger API Python SDK
55
6-
API Version: 1.32.0
6+
API Version: 1.32.1
77
88
NOTE: This file is auto-generated, DO NOT EDIT THIS FILE MANUALLY!
99
If you want to contribute or request a new feature, please create an issue or pull request on https://github.com/hostinger/api

hostinger_api/api/agency_hosting_cron_jobs_api.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"""
44
Hostinger API Python SDK
55
6-
API Version: 1.32.0
6+
API Version: 1.32.1
77
88
NOTE: This file is auto-generated, DO NOT EDIT THIS FILE MANUALLY!
99
If you want to contribute or request a new feature, please create an issue or pull request on https://github.com/hostinger/api

hostinger_api/api/agency_hosting_databases_api.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"""
44
Hostinger API Python SDK
55
6-
API Version: 1.32.0
6+
API Version: 1.32.1
77
88
NOTE: This file is auto-generated, DO NOT EDIT THIS FILE MANUALLY!
99
If you want to contribute or request a new feature, please create an issue or pull request on https://github.com/hostinger/api

hostinger_api/api/agency_hosting_datacenters_api.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"""
44
Hostinger API Python SDK
55
6-
API Version: 1.32.0
6+
API Version: 1.32.1
77
88
NOTE: This file is auto-generated, DO NOT EDIT THIS FILE MANUALLY!
99
If you want to contribute or request a new feature, please create an issue or pull request on https://github.com/hostinger/api

hostinger_api/api/agency_hosting_domains_api.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"""
44
Hostinger API Python SDK
55
6-
API Version: 1.32.0
6+
API Version: 1.32.1
77
88
NOTE: This file is auto-generated, DO NOT EDIT THIS FILE MANUALLY!
99
If you want to contribute or request a new feature, please create an issue or pull request on https://github.com/hostinger/api

hostinger_api/api/agency_hosting_files_api.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"""
44
Hostinger API Python SDK
55
6-
API Version: 1.32.0
6+
API Version: 1.32.1
77
88
NOTE: This file is auto-generated, DO NOT EDIT THIS FILE MANUALLY!
99
If you want to contribute or request a new feature, please create an issue or pull request on https://github.com/hostinger/api

0 commit comments

Comments
 (0)