@hostinger/sdk 1.52.2 → 1.53.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -2
- package/api.ts +442 -1
- package/base.ts +1 -1
- package/common.ts +1 -1
- package/configuration.ts +2 -2
- package/dist/api.d.ts +252 -1
- package/dist/api.js +372 -11
- package/dist/base.d.ts +1 -1
- package/dist/base.js +1 -1
- package/dist/common.d.ts +1 -1
- package/dist/common.js +1 -1
- package/dist/configuration.d.ts +1 -1
- package/dist/configuration.js +2 -2
- package/dist/esm/api.d.ts +252 -1
- package/dist/esm/api.js +358 -1
- package/dist/esm/base.d.ts +1 -1
- package/dist/esm/base.js +1 -1
- package/dist/esm/common.d.ts +1 -1
- package/dist/esm/common.js +1 -1
- package/dist/esm/configuration.d.ts +1 -1
- package/dist/esm/configuration.js +2 -2
- package/dist/esm/index.d.ts +1 -1
- package/dist/esm/index.js +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/docs/HostingSSLApi.md +242 -0
- package/docs/HostingV1SslSslStatusResource.md +30 -0
- package/docs/HostingV1SslToggleHttpsRedirectRequest.md +20 -0
- package/index.ts +1 -1
- package/package.json +1 -1
package/dist/api.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Hostinger API
|
|
3
3
|
*
|
|
4
|
-
* API Version: 1.
|
|
4
|
+
* API Version: 1.53.0
|
|
5
5
|
*
|
|
6
6
|
* NOTE: This file is auto-generated, DO NOT EDIT THIS FILE MANUALLY!
|
|
7
7
|
* If you want to contribute or request a new feature, please create an issue or pull request on https://github.com/hostinger/api
|
|
@@ -8711,6 +8711,79 @@ export interface HostingV1RedirectsRedirectResource {
|
|
|
8711
8711
|
*/
|
|
8712
8712
|
'to': string;
|
|
8713
8713
|
}
|
|
8714
|
+
/**
|
|
8715
|
+
*
|
|
8716
|
+
* @export
|
|
8717
|
+
* @interface HostingV1SslSslStatusResource
|
|
8718
|
+
*/
|
|
8719
|
+
export interface HostingV1SslSslStatusResource {
|
|
8720
|
+
/**
|
|
8721
|
+
* Current certificate status
|
|
8722
|
+
* @type {string}
|
|
8723
|
+
* @memberof HostingV1SslSslStatusResource
|
|
8724
|
+
*/
|
|
8725
|
+
'status': HostingV1SslSslStatusResourceStatusEnum;
|
|
8726
|
+
/**
|
|
8727
|
+
* Provider of the assigned certificate, or of the last recorded installation when none is assigned. `custom` means an uploaded certificate. Null when no certificate is assigned and no installation is recorded, which is also the case for free subdomains on the platform-managed certificate.
|
|
8728
|
+
* @type {string}
|
|
8729
|
+
* @memberof HostingV1SslSslStatusResource
|
|
8730
|
+
*/
|
|
8731
|
+
'provider': HostingV1SslSslStatusResourceProviderEnum | null;
|
|
8732
|
+
/**
|
|
8733
|
+
* Whether the certificate comes from a lifetime provider managed by the platform, not an uploaded one. Follows `provider`: it reflects the last recorded installation when no certificate is assigned, and is false when `provider` is null.
|
|
8734
|
+
* @type {boolean}
|
|
8735
|
+
* @memberof HostingV1SslSslStatusResource
|
|
8736
|
+
*/
|
|
8737
|
+
'is_lifetime': boolean;
|
|
8738
|
+
/**
|
|
8739
|
+
* Whether HTTP requests to the website are redirected to HTTPS
|
|
8740
|
+
* @type {boolean}
|
|
8741
|
+
* @memberof HostingV1SslSslStatusResource
|
|
8742
|
+
*/
|
|
8743
|
+
'is_https_redirect_enabled': boolean;
|
|
8744
|
+
/**
|
|
8745
|
+
* End of the assigned certificate validity period; null when no certificate details are available.
|
|
8746
|
+
* @type {string}
|
|
8747
|
+
* @memberof HostingV1SslSslStatusResource
|
|
8748
|
+
*/
|
|
8749
|
+
'expires_at': string | null;
|
|
8750
|
+
/**
|
|
8751
|
+
* Last installation error, when it is one of the known displayable messages
|
|
8752
|
+
* @type {string}
|
|
8753
|
+
* @memberof HostingV1SslSslStatusResource
|
|
8754
|
+
*/
|
|
8755
|
+
'last_error': string | null;
|
|
8756
|
+
}
|
|
8757
|
+
export declare const HostingV1SslSslStatusResourceStatusEnum: {
|
|
8758
|
+
readonly NotInstalled: "not_installed";
|
|
8759
|
+
readonly Installing: "installing";
|
|
8760
|
+
readonly WaitingForRetry: "waiting_for_retry";
|
|
8761
|
+
readonly Active: "active";
|
|
8762
|
+
readonly Expired: "expired";
|
|
8763
|
+
readonly Failed: "failed";
|
|
8764
|
+
};
|
|
8765
|
+
export type HostingV1SslSslStatusResourceStatusEnum = typeof HostingV1SslSslStatusResourceStatusEnum[keyof typeof HostingV1SslSslStatusResourceStatusEnum];
|
|
8766
|
+
export declare const HostingV1SslSslStatusResourceProviderEnum: {
|
|
8767
|
+
readonly Custom: "custom";
|
|
8768
|
+
readonly Letsencrypt: "letsencrypt";
|
|
8769
|
+
readonly Zerossl: "zerossl";
|
|
8770
|
+
readonly Googlessl: "googlessl";
|
|
8771
|
+
readonly Hssl: "hssl";
|
|
8772
|
+
};
|
|
8773
|
+
export type HostingV1SslSslStatusResourceProviderEnum = typeof HostingV1SslSslStatusResourceProviderEnum[keyof typeof HostingV1SslSslStatusResourceProviderEnum];
|
|
8774
|
+
/**
|
|
8775
|
+
*
|
|
8776
|
+
* @export
|
|
8777
|
+
* @interface HostingV1SslToggleHttpsRedirectRequest
|
|
8778
|
+
*/
|
|
8779
|
+
export interface HostingV1SslToggleHttpsRedirectRequest {
|
|
8780
|
+
/**
|
|
8781
|
+
* Turn the HTTP to HTTPS redirect on (true) or off (false) for the website.
|
|
8782
|
+
* @type {boolean}
|
|
8783
|
+
* @memberof HostingV1SslToggleHttpsRedirectRequest
|
|
8784
|
+
*/
|
|
8785
|
+
'is_enabled': boolean;
|
|
8786
|
+
}
|
|
8714
8787
|
/**
|
|
8715
8788
|
*
|
|
8716
8789
|
* @export
|
|
@@ -24799,6 +24872,184 @@ export declare class HostingRedirectsApi extends BaseAPI {
|
|
|
24799
24872
|
*/
|
|
24800
24873
|
listWebsiteRedirectsV1(username: string, domain: string, page?: number, perPage?: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<HostingListWebsiteRedirectsV1200Response, any, {}, any>>;
|
|
24801
24874
|
}
|
|
24875
|
+
/**
|
|
24876
|
+
* HostingSSLApi - axios parameter creator
|
|
24877
|
+
* @export
|
|
24878
|
+
*/
|
|
24879
|
+
export declare const HostingSSLApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
24880
|
+
/**
|
|
24881
|
+
* Returns the SSL state of the website: the certificate `status` and `provider`, whether the certificate is a lifetime one managed by the platform, whether HTTP requests are redirected to HTTPS, when the certificate stops being valid and the last installation error. `installing` and `waiting_for_retry` mean an installation is in progress. `failed` means the last installation gave up, or the website was not updated for 60 minutes while `installing`; `last_error` holds the reason when it is a known message, otherwise it is null. `expired` means the assigned certificate\'s validity has ended. `not_installed` means no certificate is assigned. Free subdomains use a platform-managed certificate: with no installation recorded they report `active` with `provider` and `expires_at` null.
|
|
24882
|
+
* @summary Get SSL status
|
|
24883
|
+
* @param {string} username
|
|
24884
|
+
* @param {string} domain Domain name
|
|
24885
|
+
* @param {*} [options] Override http request option.
|
|
24886
|
+
* @throws {RequiredError}
|
|
24887
|
+
*/
|
|
24888
|
+
getSSLStatusV1: (username: string, domain: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
24889
|
+
/**
|
|
24890
|
+
* Requests a lifetime SSL certificate for the website. The installation runs in the background; `Get SSL status` reports `active` or `failed` when it ends. An `active` lifetime certificate does not block the request: a new installation is requested, which is how a certificate is reinstalled. Returns 422 for free subdomains (their certificate is managed by the platform), while an installation is `installing` or `waiting_for_retry`, when the website\'s certificate was revoked (it cannot be reissued), and when an uploaded custom certificate is installed; that one has to be uninstalled first.
|
|
24891
|
+
* @summary Install SSL
|
|
24892
|
+
* @param {string} username
|
|
24893
|
+
* @param {string} domain Domain name
|
|
24894
|
+
* @param {*} [options] Override http request option.
|
|
24895
|
+
* @throws {RequiredError}
|
|
24896
|
+
*/
|
|
24897
|
+
installSSLV1: (username: string, domain: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
24898
|
+
/**
|
|
24899
|
+
* Turns the HTTP to HTTPS redirect of the website on or off, based on `is_enabled`. Does nothing when the redirect is already in the requested state. Turning it on requires an installed certificate (`status` `active` or `expired` on `Get SSL status`) and returns 422 when there is none; turning it off is always accepted.
|
|
24900
|
+
* @summary Toggle HTTPS redirect
|
|
24901
|
+
* @param {string} username
|
|
24902
|
+
* @param {string} domain Domain name
|
|
24903
|
+
* @param {HostingV1SslToggleHttpsRedirectRequest} hostingV1SslToggleHttpsRedirectRequest
|
|
24904
|
+
* @param {*} [options] Override http request option.
|
|
24905
|
+
* @throws {RequiredError}
|
|
24906
|
+
*/
|
|
24907
|
+
toggleHTTPSRedirectV1: (username: string, domain: string, hostingV1SslToggleHttpsRedirectRequest: HostingV1SslToggleHttpsRedirectRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
24908
|
+
/**
|
|
24909
|
+
* Removes the SSL certificate assigned to the website, turns the HTTPS redirect off and cancels a pending installation retry. The website serves plain HTTP until a new installation completes. `Get SSL status` reports `not_installed` as soon as the call returns; the call also succeeds when no certificate is assigned, so repeating it is safe. Returns 422 for free subdomains (their certificate is managed by the platform) and while an installation is `installing`.
|
|
24910
|
+
* @summary Uninstall SSL
|
|
24911
|
+
* @param {string} username
|
|
24912
|
+
* @param {string} domain Domain name
|
|
24913
|
+
* @param {*} [options] Override http request option.
|
|
24914
|
+
* @throws {RequiredError}
|
|
24915
|
+
*/
|
|
24916
|
+
uninstallSSLV1: (username: string, domain: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
24917
|
+
};
|
|
24918
|
+
/**
|
|
24919
|
+
* HostingSSLApi - functional programming interface
|
|
24920
|
+
* @export
|
|
24921
|
+
*/
|
|
24922
|
+
export declare const HostingSSLApiFp: (configuration?: Configuration) => {
|
|
24923
|
+
/**
|
|
24924
|
+
* Returns the SSL state of the website: the certificate `status` and `provider`, whether the certificate is a lifetime one managed by the platform, whether HTTP requests are redirected to HTTPS, when the certificate stops being valid and the last installation error. `installing` and `waiting_for_retry` mean an installation is in progress. `failed` means the last installation gave up, or the website was not updated for 60 minutes while `installing`; `last_error` holds the reason when it is a known message, otherwise it is null. `expired` means the assigned certificate\'s validity has ended. `not_installed` means no certificate is assigned. Free subdomains use a platform-managed certificate: with no installation recorded they report `active` with `provider` and `expires_at` null.
|
|
24925
|
+
* @summary Get SSL status
|
|
24926
|
+
* @param {string} username
|
|
24927
|
+
* @param {string} domain Domain name
|
|
24928
|
+
* @param {*} [options] Override http request option.
|
|
24929
|
+
* @throws {RequiredError}
|
|
24930
|
+
*/
|
|
24931
|
+
getSSLStatusV1(username: string, domain: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<HostingV1SslSslStatusResource>>;
|
|
24932
|
+
/**
|
|
24933
|
+
* Requests a lifetime SSL certificate for the website. The installation runs in the background; `Get SSL status` reports `active` or `failed` when it ends. An `active` lifetime certificate does not block the request: a new installation is requested, which is how a certificate is reinstalled. Returns 422 for free subdomains (their certificate is managed by the platform), while an installation is `installing` or `waiting_for_retry`, when the website\'s certificate was revoked (it cannot be reissued), and when an uploaded custom certificate is installed; that one has to be uninstalled first.
|
|
24934
|
+
* @summary Install SSL
|
|
24935
|
+
* @param {string} username
|
|
24936
|
+
* @param {string} domain Domain name
|
|
24937
|
+
* @param {*} [options] Override http request option.
|
|
24938
|
+
* @throws {RequiredError}
|
|
24939
|
+
*/
|
|
24940
|
+
installSSLV1(username: string, domain: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CommonSuccessEmptyResource>>;
|
|
24941
|
+
/**
|
|
24942
|
+
* Turns the HTTP to HTTPS redirect of the website on or off, based on `is_enabled`. Does nothing when the redirect is already in the requested state. Turning it on requires an installed certificate (`status` `active` or `expired` on `Get SSL status`) and returns 422 when there is none; turning it off is always accepted.
|
|
24943
|
+
* @summary Toggle HTTPS redirect
|
|
24944
|
+
* @param {string} username
|
|
24945
|
+
* @param {string} domain Domain name
|
|
24946
|
+
* @param {HostingV1SslToggleHttpsRedirectRequest} hostingV1SslToggleHttpsRedirectRequest
|
|
24947
|
+
* @param {*} [options] Override http request option.
|
|
24948
|
+
* @throws {RequiredError}
|
|
24949
|
+
*/
|
|
24950
|
+
toggleHTTPSRedirectV1(username: string, domain: string, hostingV1SslToggleHttpsRedirectRequest: HostingV1SslToggleHttpsRedirectRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CommonSuccessEmptyResource>>;
|
|
24951
|
+
/**
|
|
24952
|
+
* Removes the SSL certificate assigned to the website, turns the HTTPS redirect off and cancels a pending installation retry. The website serves plain HTTP until a new installation completes. `Get SSL status` reports `not_installed` as soon as the call returns; the call also succeeds when no certificate is assigned, so repeating it is safe. Returns 422 for free subdomains (their certificate is managed by the platform) and while an installation is `installing`.
|
|
24953
|
+
* @summary Uninstall SSL
|
|
24954
|
+
* @param {string} username
|
|
24955
|
+
* @param {string} domain Domain name
|
|
24956
|
+
* @param {*} [options] Override http request option.
|
|
24957
|
+
* @throws {RequiredError}
|
|
24958
|
+
*/
|
|
24959
|
+
uninstallSSLV1(username: string, domain: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CommonSuccessEmptyResource>>;
|
|
24960
|
+
};
|
|
24961
|
+
/**
|
|
24962
|
+
* HostingSSLApi - factory interface
|
|
24963
|
+
* @export
|
|
24964
|
+
*/
|
|
24965
|
+
export declare const HostingSSLApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
24966
|
+
/**
|
|
24967
|
+
* Returns the SSL state of the website: the certificate `status` and `provider`, whether the certificate is a lifetime one managed by the platform, whether HTTP requests are redirected to HTTPS, when the certificate stops being valid and the last installation error. `installing` and `waiting_for_retry` mean an installation is in progress. `failed` means the last installation gave up, or the website was not updated for 60 minutes while `installing`; `last_error` holds the reason when it is a known message, otherwise it is null. `expired` means the assigned certificate\'s validity has ended. `not_installed` means no certificate is assigned. Free subdomains use a platform-managed certificate: with no installation recorded they report `active` with `provider` and `expires_at` null.
|
|
24968
|
+
* @summary Get SSL status
|
|
24969
|
+
* @param {string} username
|
|
24970
|
+
* @param {string} domain Domain name
|
|
24971
|
+
* @param {*} [options] Override http request option.
|
|
24972
|
+
* @throws {RequiredError}
|
|
24973
|
+
*/
|
|
24974
|
+
getSSLStatusV1(username: string, domain: string, options?: RawAxiosRequestConfig): AxiosPromise<HostingV1SslSslStatusResource>;
|
|
24975
|
+
/**
|
|
24976
|
+
* Requests a lifetime SSL certificate for the website. The installation runs in the background; `Get SSL status` reports `active` or `failed` when it ends. An `active` lifetime certificate does not block the request: a new installation is requested, which is how a certificate is reinstalled. Returns 422 for free subdomains (their certificate is managed by the platform), while an installation is `installing` or `waiting_for_retry`, when the website\'s certificate was revoked (it cannot be reissued), and when an uploaded custom certificate is installed; that one has to be uninstalled first.
|
|
24977
|
+
* @summary Install SSL
|
|
24978
|
+
* @param {string} username
|
|
24979
|
+
* @param {string} domain Domain name
|
|
24980
|
+
* @param {*} [options] Override http request option.
|
|
24981
|
+
* @throws {RequiredError}
|
|
24982
|
+
*/
|
|
24983
|
+
installSSLV1(username: string, domain: string, options?: RawAxiosRequestConfig): AxiosPromise<CommonSuccessEmptyResource>;
|
|
24984
|
+
/**
|
|
24985
|
+
* Turns the HTTP to HTTPS redirect of the website on or off, based on `is_enabled`. Does nothing when the redirect is already in the requested state. Turning it on requires an installed certificate (`status` `active` or `expired` on `Get SSL status`) and returns 422 when there is none; turning it off is always accepted.
|
|
24986
|
+
* @summary Toggle HTTPS redirect
|
|
24987
|
+
* @param {string} username
|
|
24988
|
+
* @param {string} domain Domain name
|
|
24989
|
+
* @param {HostingV1SslToggleHttpsRedirectRequest} hostingV1SslToggleHttpsRedirectRequest
|
|
24990
|
+
* @param {*} [options] Override http request option.
|
|
24991
|
+
* @throws {RequiredError}
|
|
24992
|
+
*/
|
|
24993
|
+
toggleHTTPSRedirectV1(username: string, domain: string, hostingV1SslToggleHttpsRedirectRequest: HostingV1SslToggleHttpsRedirectRequest, options?: RawAxiosRequestConfig): AxiosPromise<CommonSuccessEmptyResource>;
|
|
24994
|
+
/**
|
|
24995
|
+
* Removes the SSL certificate assigned to the website, turns the HTTPS redirect off and cancels a pending installation retry. The website serves plain HTTP until a new installation completes. `Get SSL status` reports `not_installed` as soon as the call returns; the call also succeeds when no certificate is assigned, so repeating it is safe. Returns 422 for free subdomains (their certificate is managed by the platform) and while an installation is `installing`.
|
|
24996
|
+
* @summary Uninstall SSL
|
|
24997
|
+
* @param {string} username
|
|
24998
|
+
* @param {string} domain Domain name
|
|
24999
|
+
* @param {*} [options] Override http request option.
|
|
25000
|
+
* @throws {RequiredError}
|
|
25001
|
+
*/
|
|
25002
|
+
uninstallSSLV1(username: string, domain: string, options?: RawAxiosRequestConfig): AxiosPromise<CommonSuccessEmptyResource>;
|
|
25003
|
+
};
|
|
25004
|
+
/**
|
|
25005
|
+
* HostingSSLApi - object-oriented interface
|
|
25006
|
+
* @export
|
|
25007
|
+
* @class HostingSSLApi
|
|
25008
|
+
* @extends {BaseAPI}
|
|
25009
|
+
*/
|
|
25010
|
+
export declare class HostingSSLApi extends BaseAPI {
|
|
25011
|
+
/**
|
|
25012
|
+
* Returns the SSL state of the website: the certificate `status` and `provider`, whether the certificate is a lifetime one managed by the platform, whether HTTP requests are redirected to HTTPS, when the certificate stops being valid and the last installation error. `installing` and `waiting_for_retry` mean an installation is in progress. `failed` means the last installation gave up, or the website was not updated for 60 minutes while `installing`; `last_error` holds the reason when it is a known message, otherwise it is null. `expired` means the assigned certificate\'s validity has ended. `not_installed` means no certificate is assigned. Free subdomains use a platform-managed certificate: with no installation recorded they report `active` with `provider` and `expires_at` null.
|
|
25013
|
+
* @summary Get SSL status
|
|
25014
|
+
* @param {string} username
|
|
25015
|
+
* @param {string} domain Domain name
|
|
25016
|
+
* @param {*} [options] Override http request option.
|
|
25017
|
+
* @throws {RequiredError}
|
|
25018
|
+
* @memberof HostingSSLApi
|
|
25019
|
+
*/
|
|
25020
|
+
getSSLStatusV1(username: string, domain: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<HostingV1SslSslStatusResource, any, {}, any>>;
|
|
25021
|
+
/**
|
|
25022
|
+
* Requests a lifetime SSL certificate for the website. The installation runs in the background; `Get SSL status` reports `active` or `failed` when it ends. An `active` lifetime certificate does not block the request: a new installation is requested, which is how a certificate is reinstalled. Returns 422 for free subdomains (their certificate is managed by the platform), while an installation is `installing` or `waiting_for_retry`, when the website\'s certificate was revoked (it cannot be reissued), and when an uploaded custom certificate is installed; that one has to be uninstalled first.
|
|
25023
|
+
* @summary Install SSL
|
|
25024
|
+
* @param {string} username
|
|
25025
|
+
* @param {string} domain Domain name
|
|
25026
|
+
* @param {*} [options] Override http request option.
|
|
25027
|
+
* @throws {RequiredError}
|
|
25028
|
+
* @memberof HostingSSLApi
|
|
25029
|
+
*/
|
|
25030
|
+
installSSLV1(username: string, domain: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CommonSuccessEmptyResource, any, {}, any>>;
|
|
25031
|
+
/**
|
|
25032
|
+
* Turns the HTTP to HTTPS redirect of the website on or off, based on `is_enabled`. Does nothing when the redirect is already in the requested state. Turning it on requires an installed certificate (`status` `active` or `expired` on `Get SSL status`) and returns 422 when there is none; turning it off is always accepted.
|
|
25033
|
+
* @summary Toggle HTTPS redirect
|
|
25034
|
+
* @param {string} username
|
|
25035
|
+
* @param {string} domain Domain name
|
|
25036
|
+
* @param {HostingV1SslToggleHttpsRedirectRequest} hostingV1SslToggleHttpsRedirectRequest
|
|
25037
|
+
* @param {*} [options] Override http request option.
|
|
25038
|
+
* @throws {RequiredError}
|
|
25039
|
+
* @memberof HostingSSLApi
|
|
25040
|
+
*/
|
|
25041
|
+
toggleHTTPSRedirectV1(username: string, domain: string, hostingV1SslToggleHttpsRedirectRequest: HostingV1SslToggleHttpsRedirectRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CommonSuccessEmptyResource, any, {}, any>>;
|
|
25042
|
+
/**
|
|
25043
|
+
* Removes the SSL certificate assigned to the website, turns the HTTPS redirect off and cancels a pending installation retry. The website serves plain HTTP until a new installation completes. `Get SSL status` reports `not_installed` as soon as the call returns; the call also succeeds when no certificate is assigned, so repeating it is safe. Returns 422 for free subdomains (their certificate is managed by the platform) and while an installation is `installing`.
|
|
25044
|
+
* @summary Uninstall SSL
|
|
25045
|
+
* @param {string} username
|
|
25046
|
+
* @param {string} domain Domain name
|
|
25047
|
+
* @param {*} [options] Override http request option.
|
|
25048
|
+
* @throws {RequiredError}
|
|
25049
|
+
* @memberof HostingSSLApi
|
|
25050
|
+
*/
|
|
25051
|
+
uninstallSSLV1(username: string, domain: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CommonSuccessEmptyResource, any, {}, any>>;
|
|
25052
|
+
}
|
|
24802
25053
|
/**
|
|
24803
25054
|
* HostingWebsitesApi - axios parameter creator
|
|
24804
25055
|
* @export
|