hostinger-api-mcp 1.50.0 → 1.51.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.
Files changed (53) hide show
  1. package/gemini-extension.json +1 -1
  2. package/package.json +1 -1
  3. package/server.json +2 -2
  4. package/src/core/runtime.js +2 -0
  5. package/src/core/runtime.ts +2 -0
  6. package/src/core/tools/agency-hosting.js +239 -0
  7. package/src/core/tools/agency-hosting.ts +239 -0
  8. package/src/core/tools/all.js +2330 -0
  9. package/src/core/tools/all.ts +2330 -0
  10. package/src/core/tools/billing.js +57 -0
  11. package/src/core/tools/billing.ts +57 -0
  12. package/src/core/tools/dns.js +50 -0
  13. package/src/core/tools/dns.ts +50 -0
  14. package/src/core/tools/domains.js +255 -0
  15. package/src/core/tools/domains.ts +255 -0
  16. package/src/core/tools/ecommerce.js +180 -0
  17. package/src/core/tools/ecommerce.ts +180 -0
  18. package/src/core/tools/horizons.js +12 -0
  19. package/src/core/tools/horizons.ts +12 -0
  20. package/src/core/tools/hosting.js +365 -0
  21. package/src/core/tools/hosting.ts +365 -0
  22. package/src/core/tools/mail.js +239 -0
  23. package/src/core/tools/mail.ts +239 -0
  24. package/src/core/tools/reach.js +306 -0
  25. package/src/core/tools/reach.ts +306 -0
  26. package/src/core/tools/vps.js +395 -0
  27. package/src/core/tools/vps.ts +395 -0
  28. package/src/core/tools/wordpress.js +232 -0
  29. package/src/core/tools/wordpress.ts +232 -0
  30. package/src/servers/agency-hosting.js +1 -1
  31. package/src/servers/agency-hosting.ts +1 -1
  32. package/src/servers/all.js +1 -1
  33. package/src/servers/all.ts +1 -1
  34. package/src/servers/billing.js +1 -1
  35. package/src/servers/billing.ts +1 -1
  36. package/src/servers/dns.js +1 -1
  37. package/src/servers/dns.ts +1 -1
  38. package/src/servers/domains.js +1 -1
  39. package/src/servers/domains.ts +1 -1
  40. package/src/servers/ecommerce.js +1 -1
  41. package/src/servers/ecommerce.ts +1 -1
  42. package/src/servers/horizons.js +1 -1
  43. package/src/servers/horizons.ts +1 -1
  44. package/src/servers/hosting.js +1 -1
  45. package/src/servers/hosting.ts +1 -1
  46. package/src/servers/mail.js +1 -1
  47. package/src/servers/mail.ts +1 -1
  48. package/src/servers/reach.js +1 -1
  49. package/src/servers/reach.ts +1 -1
  50. package/src/servers/vps.js +1 -1
  51. package/src/servers/vps.ts +1 -1
  52. package/src/servers/wordpress.js +1 -1
  53. package/src/servers/wordpress.ts +1 -1
@@ -2,6 +2,12 @@
2
2
  export default [
3
3
  {
4
4
  "name": "hosting_importWordpressWebsite",
5
+ "title": "Import WordPress website",
6
+ "annotations": {
7
+ "title": "Import WordPress website",
8
+ "readOnlyHint": false,
9
+ "destructiveHint": true
10
+ },
5
11
  "topic": "hosting",
6
12
  "description": "Import a WordPress website from an archive file to a hosting server. This tool uploads a website archive (zip, tar, tar.gz, etc.) and a database dump (.sql file) to deploy a complete WordPress website. The archive will be extracted on the server automatically. Note: This process may take a while for larger sites. After upload completion, files are being extracted and the site will be available in a few minutes. Upload credentials are generated and used internally — do not call a separate upload-url endpoint or upload the files yourself, this tool does it end-to-end. The username will be automatically resolved from the domain.",
7
13
  "method": "",
@@ -37,6 +43,12 @@ export default [
37
43
  },
38
44
  {
39
45
  "name": "hosting_deployWordpressPlugin",
46
+ "title": "Deploy WordPress plugin",
47
+ "annotations": {
48
+ "title": "Deploy WordPress plugin",
49
+ "readOnlyHint": false,
50
+ "destructiveHint": true
51
+ },
40
52
  "topic": "hosting",
41
53
  "description": "Deploy a WordPress plugin from a directory to a hosting server. This tool uploads all plugin files and triggers plugin deployment. Upload credentials are generated and used internally — do not call a separate upload-url endpoint or upload the files yourself, this tool does it end-to-end.",
42
54
  "method": "",
@@ -72,6 +84,12 @@ export default [
72
84
  },
73
85
  {
74
86
  "name": "hosting_deployWordpressTheme",
87
+ "title": "Deploy WordPress theme",
88
+ "annotations": {
89
+ "title": "Deploy WordPress theme",
90
+ "readOnlyHint": false,
91
+ "destructiveHint": true
92
+ },
75
93
  "topic": "hosting",
76
94
  "description": "Deploy a WordPress theme from a directory to a hosting server. This tool uploads all theme files and triggers theme deployment. The uploaded theme can optionally be activated after deployment. Upload credentials are generated and used internally — do not call a separate upload-url endpoint or upload the files yourself, this tool does it end-to-end.",
77
95
  "method": "",
@@ -111,6 +129,12 @@ export default [
111
129
  },
112
130
  {
113
131
  "name": "hosting_deployJsApplication",
132
+ "title": "Deploy JavaScript application",
133
+ "annotations": {
134
+ "title": "Deploy JavaScript application",
135
+ "readOnlyHint": false,
136
+ "destructiveHint": true
137
+ },
114
138
  "topic": "hosting",
115
139
  "description": "Deploy a JavaScript application from an archive file to a hosting server. IMPORTANT: the archive must ONLY contain application source files, not the build output, skip node_modules directory; also exclude all files matched by .gitignore if the ignore file exists. The build process will be triggered automatically on the server after the archive is uploaded. Upload credentials are generated and used internally — do not call a separate upload-url endpoint or upload the archive yourself, this tool does it end-to-end. After deployment, use the hosting_listJsDeployments tool to check deployment status and track build progress.",
116
140
  "method": "",
@@ -145,6 +169,12 @@ export default [
145
169
  },
146
170
  {
147
171
  "name": "hosting_deployStaticWebsite",
172
+ "title": "Deploy static website",
173
+ "annotations": {
174
+ "title": "Deploy static website",
175
+ "readOnlyHint": false,
176
+ "destructiveHint": true
177
+ },
148
178
  "topic": "hosting",
149
179
  "description": "Deploy a static website from an archive file to a hosting server. IMPORTANT: This tool only works for static websites with no build process. The archive must contain pre-built static files (HTML, CSS, JavaScript, images, etc.) ready to be served. If the website has a package.json file or requires a build command, use hosting_deployJsApplication instead. The tool uploads the archive to the website's file browser over TUS and triggers deployment; the archive is extracted and deployed directly without any build steps. Upload credentials are generated and used internally — do not call a separate upload-url endpoint or upload the archive yourself, this tool does it end-to-end. The username will be automatically resolved from the domain.",
150
180
  "method": "",
@@ -179,6 +209,12 @@ export default [
179
209
  },
180
210
  {
181
211
  "name": "hosting_listJsDeployments",
212
+ "title": "List JavaScript deployments",
213
+ "annotations": {
214
+ "title": "List JavaScript deployments",
215
+ "readOnlyHint": true,
216
+ "destructiveHint": false
217
+ },
182
218
  "topic": "hosting",
183
219
  "description": "List javascript application deployments for checking their status. Use this tool when customer asks for the status of the deployment. This tool retrieves a paginated list of Node.js application deployments for a domain with optional filtering by deployment states.",
184
220
  "method": "",
@@ -225,6 +261,12 @@ export default [
225
261
  },
226
262
  {
227
263
  "name": "hosting_showJsDeploymentLogs",
264
+ "title": "Show JavaScript deployment logs",
265
+ "annotations": {
266
+ "title": "Show JavaScript deployment logs",
267
+ "readOnlyHint": true,
268
+ "destructiveHint": false
269
+ },
228
270
  "topic": "hosting",
229
271
  "description": "Retrieve logs for a specified JavaScript application deployment for debugging purposes in case of failure.",
230
272
  "method": "",
@@ -259,6 +301,13 @@ export default [
259
301
  },
260
302
  {
261
303
  "name": "hosting_clearWebsiteCacheV1",
304
+ "title": "Clear website cache",
305
+ "annotations": {
306
+ "title": "Clear website cache",
307
+ "readOnlyHint": false,
308
+ "destructiveHint": true,
309
+ "idempotentHint": true
310
+ },
262
311
  "description": "Permanently clears all server-side cache for the website at once. Use it when content was\nupdated and needs to be visible immediately, or after making major changes.\n\nAlso purges the Hostinger CDN cache when CDN is enabled on the website. For a WordPress\ninstallation living in a subdirectory, pass the directory query parameter to clear its cache.",
263
312
  "method": "DELETE",
264
313
  "path": "/api/hosting/v1/accounts/{username}/websites/{domain}/cache/clear",
@@ -292,6 +341,13 @@ export default [
292
341
  },
293
342
  {
294
343
  "name": "hosting_toggleCachelessModeV1",
344
+ "title": "Toggle cacheless mode",
345
+ "annotations": {
346
+ "title": "Toggle cacheless mode",
347
+ "readOnlyHint": false,
348
+ "destructiveHint": true,
349
+ "idempotentHint": true
350
+ },
295
351
  "description": "Turns development (cacheless) mode on or off, based on the enabled flag. When enabled, nothing\nis cached, effectively turning off all caching for the website; use it while actively developing,\ntesting changes, debugging issues, or when real-time updates must be visible. Disable it after\nfinishing development work to restore the performance benefits of caching.",
296
352
  "method": "PATCH",
297
353
  "path": "/api/hosting/v1/accounts/{username}/websites/{domain}/cacheless-mode/toggle",
@@ -326,6 +382,13 @@ export default [
326
382
  },
327
383
  {
328
384
  "name": "hosting_toggleWebsiteCacheV1",
385
+ "title": "Toggle website cache",
386
+ "annotations": {
387
+ "title": "Toggle website cache",
388
+ "readOnlyHint": false,
389
+ "destructiveHint": true,
390
+ "idempotentHint": true
391
+ },
329
392
  "description": "Turns server-side caching for the website on or off, based on the enabled flag. Enable it for\nfaster page loads, reduced server load, and improved user experience; recommended for production\nwebsites. Disabling may impact performance; to temporarily bypass caching while developing or\ndebugging, prefer toggling cacheless mode instead.\n\nDoes nothing if caching is already in the requested state.",
330
393
  "method": "PATCH",
331
394
  "path": "/api/hosting/v1/accounts/{username}/websites/{domain}/cache/toggle",
@@ -360,6 +423,12 @@ export default [
360
423
  },
361
424
  {
362
425
  "name": "hosting_listAccountCronJobsV1",
426
+ "title": "List account cron jobs",
427
+ "annotations": {
428
+ "title": "List account cron jobs",
429
+ "readOnlyHint": true,
430
+ "destructiveHint": false
431
+ },
363
432
  "description": "Returns the list of cron jobs configured for the specified account, including their schedule and command.",
364
433
  "method": "GET",
365
434
  "path": "/api/hosting/v1/accounts/{username}/cron-jobs",
@@ -384,6 +453,12 @@ export default [
384
453
  },
385
454
  {
386
455
  "name": "hosting_createAccountCronJobV1",
456
+ "title": "Create account cron job",
457
+ "annotations": {
458
+ "title": "Create account cron job",
459
+ "readOnlyHint": false,
460
+ "destructiveHint": false
461
+ },
387
462
  "description": "Creates a cron job for the specified account from a schedule expression and a command.\n\nReturns the created cron job, including its uid, which is required to delete the cron job or fetch its output.",
388
463
  "method": "POST",
389
464
  "path": "/api/hosting/v1/accounts/{username}/cron-jobs",
@@ -418,6 +493,13 @@ export default [
418
493
  },
419
494
  {
420
495
  "name": "hosting_deleteAccountCronJobV1",
496
+ "title": "Delete account cron job",
497
+ "annotations": {
498
+ "title": "Delete account cron job",
499
+ "readOnlyHint": false,
500
+ "destructiveHint": true,
501
+ "idempotentHint": true
502
+ },
421
503
  "description": "Permanently deletes the cron job identified by its uid.\n\nThe uid is returned by the list cron jobs endpoint.",
422
504
  "method": "DELETE",
423
505
  "path": "/api/hosting/v1/accounts/{username}/cron-jobs/{uid}",
@@ -447,6 +529,12 @@ export default [
447
529
  },
448
530
  {
449
531
  "name": "hosting_getCronJobOutputV1",
532
+ "title": "Get cron job output",
533
+ "annotations": {
534
+ "title": "Get cron job output",
535
+ "readOnlyHint": true,
536
+ "destructiveHint": false
537
+ },
450
538
  "description": "Returns the output captured from the last execution of the cron job identified by its uid.\n\nThe uid is returned by the list cron jobs endpoint.",
451
539
  "method": "GET",
452
540
  "path": "/api/hosting/v1/accounts/{username}/cron-jobs/{uid}/output",
@@ -476,6 +564,13 @@ export default [
476
564
  },
477
565
  {
478
566
  "name": "hosting_changeDatabasePasswordV1",
567
+ "title": "Change database password",
568
+ "annotations": {
569
+ "title": "Change database password",
570
+ "readOnlyHint": false,
571
+ "destructiveHint": true,
572
+ "idempotentHint": true
573
+ },
479
574
  "description": "Changes the password for the specified database user.\n\nThe database name must be the full name returned by the list databases endpoint.\nThe password must also be updated in any website configuration that uses this database.",
480
575
  "method": "PATCH",
481
576
  "path": "/api/hosting/v1/accounts/{username}/databases/{name}/change-password",
@@ -510,6 +605,12 @@ export default [
510
605
  },
511
606
  {
512
607
  "name": "hosting_listAccountDatabasesV1",
608
+ "title": "List account databases",
609
+ "annotations": {
610
+ "title": "List account databases",
611
+ "readOnlyHint": true,
612
+ "destructiveHint": false
613
+ },
513
614
  "description": "Returns a paginated list of databases for the specified account.\n\nUse the domain and is_assigned filters to find databases assigned to a specific domain.",
514
615
  "method": "GET",
515
616
  "path": "/api/hosting/v1/accounts/{username}/databases",
@@ -554,6 +655,12 @@ export default [
554
655
  },
555
656
  {
556
657
  "name": "hosting_createAccountDatabaseV1",
658
+ "title": "Create account database",
659
+ "annotations": {
660
+ "title": "Create account database",
661
+ "readOnlyHint": false,
662
+ "destructiveHint": false
663
+ },
557
664
  "description": "Creates a database with a database user and password for the specified account.\n\nThe database name and user are automatically prefixed with the account username when needed.",
558
665
  "method": "POST",
559
666
  "path": "/api/hosting/v1/accounts/{username}/databases",
@@ -598,6 +705,13 @@ export default [
598
705
  },
599
706
  {
600
707
  "name": "hosting_deleteAccountDatabaseV1",
708
+ "title": "Delete account database",
709
+ "annotations": {
710
+ "title": "Delete account database",
711
+ "readOnlyHint": false,
712
+ "destructiveHint": true,
713
+ "idempotentHint": true
714
+ },
601
715
  "description": "Permanently deletes a database and its remote connections.\n\nThe database name must be the full name returned by the list databases endpoint.",
602
716
  "method": "DELETE",
603
717
  "path": "/api/hosting/v1/accounts/{username}/databases/{name}",
@@ -627,6 +741,12 @@ export default [
627
741
  },
628
742
  {
629
743
  "name": "hosting_createDatabaseRemoteConnectionV1",
744
+ "title": "Create database remote connection",
745
+ "annotations": {
746
+ "title": "Create database remote connection",
747
+ "readOnlyHint": false,
748
+ "destructiveHint": false
749
+ },
630
750
  "description": "Allows a remote host to connect to the specified database.\n\nProvide an IPv4/IPv6 address, or \"%\" to allow any host. The database name must be\nthe full name returned by the list databases endpoint.",
631
751
  "method": "POST",
632
752
  "path": "/api/hosting/v1/accounts/{username}/databases/{name}/remote-connections",
@@ -661,6 +781,13 @@ export default [
661
781
  },
662
782
  {
663
783
  "name": "hosting_deleteDatabaseRemoteConnectionV1",
784
+ "title": "Delete database remote connection",
785
+ "annotations": {
786
+ "title": "Delete database remote connection",
787
+ "readOnlyHint": false,
788
+ "destructiveHint": true,
789
+ "idempotentHint": true
790
+ },
664
791
  "description": "Permanently removes a remote-access rule, revoking the given host's remote access to the database.\n\nIdentify the rule with the required ip query parameter (the IPv4/IPv6 address, or \"%\",\nexactly as returned by the list remote connections endpoint). The database name must be\nthe full name returned by the list databases endpoint.",
665
792
  "method": "DELETE",
666
793
  "path": "/api/hosting/v1/accounts/{username}/databases/{name}/remote-connections",
@@ -695,6 +822,12 @@ export default [
695
822
  },
696
823
  {
697
824
  "name": "hosting_listDatabaseRemoteConnectionsV1",
825
+ "title": "List database remote connections",
826
+ "annotations": {
827
+ "title": "List database remote connections",
828
+ "readOnlyHint": true,
829
+ "destructiveHint": false
830
+ },
698
831
  "description": "Returns the remote-access rules for the specified account: the remote hosts\n(IPv4/IPv6 addresses, or \"%\" for any host) allowed to connect to the account databases.\n\nUse the domain filter to only return rules for databases assigned to a specific domain.",
699
832
  "method": "GET",
700
833
  "path": "/api/hosting/v1/accounts/{username}/databases/remote-connections",
@@ -723,6 +856,13 @@ export default [
723
856
  },
724
857
  {
725
858
  "name": "hosting_repairDatabaseV1",
859
+ "title": "Repair database",
860
+ "annotations": {
861
+ "title": "Repair database",
862
+ "readOnlyHint": false,
863
+ "destructiveHint": true,
864
+ "idempotentHint": true
865
+ },
726
866
  "description": "Repairs corrupted database tables asynchronously.\n\nUse when database errors, crashes, or corruption are reported.\nThe database name must be the full name returned by the list databases endpoint.",
727
867
  "method": "PATCH",
728
868
  "path": "/api/hosting/v1/accounts/{username}/databases/{name}/repair",
@@ -752,6 +892,12 @@ export default [
752
892
  },
753
893
  {
754
894
  "name": "hosting_getPhpMyAdminLinkV1",
895
+ "title": "Get phpMyAdmin link",
896
+ "annotations": {
897
+ "title": "Get phpMyAdmin link",
898
+ "readOnlyHint": true,
899
+ "destructiveHint": false
900
+ },
755
901
  "description": "Returns a direct sign-on link to phpMyAdmin for the specified database.\n\nUse this when a visual database interface is needed for SQL queries, imports, exports, or table management.\nThe database name must be the full name returned by the list databases endpoint.",
756
902
  "method": "GET",
757
903
  "path": "/api/hosting/v1/accounts/{username}/databases/{name}/phpmyadmin-link",
@@ -781,6 +927,12 @@ export default [
781
927
  },
782
928
  {
783
929
  "name": "hosting_listAvailableDatacentersV1",
930
+ "title": "List available datacenters",
931
+ "annotations": {
932
+ "title": "List available datacenters",
933
+ "readOnlyHint": true,
934
+ "destructiveHint": false
935
+ },
784
936
  "description": "Retrieve a list of datacenters available for setting up hosting plans\nbased on available datacenter capacity and hosting plan of your order.\nThe first item in the list is the best match for your specific order\nrequirements.",
785
937
  "method": "GET",
786
938
  "path": "/api/hosting/v1/datacenters",
@@ -805,6 +957,12 @@ export default [
805
957
  },
806
958
  {
807
959
  "name": "hosting_generateAFreeSubdomainV1",
960
+ "title": "Generate a free subdomain",
961
+ "annotations": {
962
+ "title": "Generate a free subdomain",
963
+ "readOnlyHint": false,
964
+ "destructiveHint": false
965
+ },
808
966
  "description": "Generate a unique free subdomain that can be used for hosting services without purchasing custom domains.\nFree subdomains allow you to start using hosting services immediately\nand you can always connect a custom domain to your site later.",
809
967
  "method": "POST",
810
968
  "path": "/api/hosting/v1/domains/free-subdomains",
@@ -822,6 +980,12 @@ export default [
822
980
  },
823
981
  {
824
982
  "name": "hosting_listWebsiteParkedDomainsV1",
983
+ "title": "List website parked domains",
984
+ "annotations": {
985
+ "title": "List website parked domains",
986
+ "readOnlyHint": true,
987
+ "destructiveHint": false
988
+ },
825
989
  "description": "Retrieve all parked or alias domains created under the selected website.\n\nUse this endpoint to inspect parked domain configuration for a specific website,\nincluding the parent domain and root directory assigned to each parked domain.",
826
990
  "method": "GET",
827
991
  "path": "/api/hosting/v1/accounts/{username}/websites/{domain}/parked-domains",
@@ -851,6 +1015,12 @@ export default [
851
1015
  },
852
1016
  {
853
1017
  "name": "hosting_createWebsiteParkedDomainV1",
1018
+ "title": "Create website parked domain",
1019
+ "annotations": {
1020
+ "title": "Create website parked domain",
1021
+ "readOnlyHint": false,
1022
+ "destructiveHint": false
1023
+ },
854
1024
  "description": "Create a parked or alias domain for the selected website.\n\nProvide a domain name or IP address to park on the website so it serves the same content\nas the parent domain.",
855
1025
  "method": "POST",
856
1026
  "path": "/api/hosting/v1/accounts/{username}/websites/{domain}/parked-domains",
@@ -885,6 +1055,13 @@ export default [
885
1055
  },
886
1056
  {
887
1057
  "name": "hosting_deleteWebsiteParkedDomainV1",
1058
+ "title": "Delete website parked domain",
1059
+ "annotations": {
1060
+ "title": "Delete website parked domain",
1061
+ "readOnlyHint": false,
1062
+ "destructiveHint": true,
1063
+ "idempotentHint": true
1064
+ },
888
1065
  "description": "Delete an existing parked or alias domain from the selected website.\n\nUse this endpoint to remove parked domains that are no longer needed.",
889
1066
  "method": "DELETE",
890
1067
  "path": "/api/hosting/v1/accounts/{username}/websites/{domain}/parked-domains/{parkedDomain}",
@@ -919,6 +1096,12 @@ export default [
919
1096
  },
920
1097
  {
921
1098
  "name": "hosting_listWebsiteSubdomainsV1",
1099
+ "title": "List website subdomains",
1100
+ "annotations": {
1101
+ "title": "List website subdomains",
1102
+ "readOnlyHint": true,
1103
+ "destructiveHint": false
1104
+ },
922
1105
  "description": "Retrieve all subdomains created under the selected website.\n\nUse this endpoint to inspect subdomain configuration for a specific website,\nincluding the parent domain and root directory assigned to each subdomain.",
923
1106
  "method": "GET",
924
1107
  "path": "/api/hosting/v1/accounts/{username}/websites/{domain}/subdomains",
@@ -948,6 +1131,12 @@ export default [
948
1131
  },
949
1132
  {
950
1133
  "name": "hosting_createWebsiteSubdomainV1",
1134
+ "title": "Create website subdomain",
1135
+ "annotations": {
1136
+ "title": "Create website subdomain",
1137
+ "readOnlyHint": false,
1138
+ "destructiveHint": false
1139
+ },
951
1140
  "description": "Create a new subdomain for the selected website.\n\nProvide a subdomain prefix and, optionally, a custom directory or the\nwebsite public directory to use as the subdomain root.",
952
1141
  "method": "POST",
953
1142
  "path": "/api/hosting/v1/accounts/{username}/websites/{domain}/subdomains",
@@ -990,6 +1179,13 @@ export default [
990
1179
  },
991
1180
  {
992
1181
  "name": "hosting_deleteWebsiteSubdomainV1",
1182
+ "title": "Delete website subdomain",
1183
+ "annotations": {
1184
+ "title": "Delete website subdomain",
1185
+ "readOnlyHint": false,
1186
+ "destructiveHint": true,
1187
+ "idempotentHint": true
1188
+ },
993
1189
  "description": "Delete an existing subdomain from the selected website.\n\nUse this endpoint to remove subdomains that are no longer needed.",
994
1190
  "method": "DELETE",
995
1191
  "path": "/api/hosting/v1/accounts/{username}/websites/{domain}/subdomains/{subdomain}",
@@ -1024,6 +1220,12 @@ export default [
1024
1220
  },
1025
1221
  {
1026
1222
  "name": "hosting_verifyDomainOwnershipV1",
1223
+ "title": "Verify domain ownership",
1224
+ "annotations": {
1225
+ "title": "Verify domain ownership",
1226
+ "readOnlyHint": false,
1227
+ "destructiveHint": false
1228
+ },
1027
1229
  "description": "Verify ownership of a single domain and return the verification status.\n\nUse this endpoint to check if a domain is accessible for you before using it for new websites.\nIf the domain is accessible, the response will have `is_accessible: true`.\nIf not, add the given TXT record to your domain's DNS records and try verifying again.\nKeep in mind that it may take up to 10 minutes for new TXT DNS records to propagate.\n\nSkip this verification when using Hostinger's free subdomains (*.hostingersite.com).",
1028
1230
  "method": "POST",
1029
1231
  "path": "/api/hosting/v1/domains/verify-ownership",
@@ -1048,6 +1250,12 @@ export default [
1048
1250
  },
1049
1251
  {
1050
1252
  "name": "hosting_generateUploadURLV1",
1253
+ "title": "Generate upload URL",
1254
+ "annotations": {
1255
+ "title": "Generate upload URL",
1256
+ "readOnlyHint": false,
1257
+ "destructiveHint": false
1258
+ },
1051
1259
  "description": "Generate a file browser upload URL with authentication credentials\nfor uploading files directly to a website's file storage.\n\nReturns `url`, `auth_key` and `rest_auth_key`. Use these to upload a file to the\nwebsite's `public_html` directory via the TUS resumable upload protocol (TUS 1.0.0).\nSend `X-Auth: {auth_key}` and `X-Auth-Rest: {rest_auth_key}` headers on every request\nbelow.\n\n1. Create the upload: `POST` to `{url}/{relative_file_path}?override=true` with headers\n `upload-length: {file size in bytes}` and `upload-offset: 0`. Expect `201 Created`.\n2. Upload the file: send the file bytes to the same location (any TUS 1.0.0 client, or\n `PATCH` requests with an `upload-offset` header tracking progress) until complete.\n\n`relative_file_path` is the destination path inside `public_html`, e.g. `app.zip`.\n\nInstead of a TUS client, plain `curl` also works:\n```\nFILE=app.zip\nSIZE=$(stat -f%z \"$FILE\") # stat -c%s on Linux\n\ncurl -i -X POST \"{url}/${FILE}?override=true\" \\\n -H \"X-Auth: {auth_key}\" \\\n -H \"X-Auth-Rest: {rest_auth_key}\" \\\n -H \"Tus-Resumable: 1.0.0\" \\\n -H \"Upload-Length: ${SIZE}\" \\\n -H \"Upload-Offset: 0\"\n# -> 201 Created\n\ncurl -i -X PATCH \"{url}/${FILE}?override=true\" \\\n -H \"X-Auth: {auth_key}\" \\\n -H \"X-Auth-Rest: {rest_auth_key}\" \\\n -H \"Tus-Resumable: 1.0.0\" \\\n -H \"Content-Type: application/offset+octet-stream\" \\\n -H \"Upload-Offset: 0\" \\\n --data-binary \"@${FILE}\"\n# -> 204 No Content, Upload-Offset response header equals SIZE when done\n```",
1052
1260
  "method": "POST",
1053
1261
  "path": "/api/hosting/v1/files/upload-urls",
@@ -1077,6 +1285,12 @@ export default [
1077
1285
  },
1078
1286
  {
1079
1287
  "name": "hosting_listWebsiteFilesAndDirectoriesV1",
1288
+ "title": "List website files and directories",
1289
+ "annotations": {
1290
+ "title": "List website files and directories",
1291
+ "readOnlyHint": true,
1292
+ "destructiveHint": false
1293
+ },
1080
1294
  "description": "List files and directories under a website's document root.\n\nUse `directory` to browse a subdirectory relative to the document root. Symlinked entries\nare listed but never traversed into or resolved.",
1081
1295
  "method": "GET",
1082
1296
  "path": "/api/hosting/v1/accounts/{username}/domains/{domain}/files",
@@ -1136,6 +1350,12 @@ export default [
1136
1350
  },
1137
1351
  {
1138
1352
  "name": "hosting_getWebsiteFileContentV1",
1353
+ "title": "Get website file content",
1354
+ "annotations": {
1355
+ "title": "Get website file content",
1356
+ "readOnlyHint": true,
1357
+ "destructiveHint": false
1358
+ },
1139
1359
  "description": "Get a single file's content, relative to a website's document root.\n\nRead-only; refuses symlinks, oversized files, non-text file types, and files identified as\ncontaining secrets (e.g. credential files) — none of these are returned by this endpoint.",
1140
1360
  "method": "GET",
1141
1361
  "path": "/api/hosting/v1/accounts/{username}/domains/{domain}/files/content",
@@ -1178,6 +1398,12 @@ export default [
1178
1398
  },
1179
1399
  {
1180
1400
  "name": "hosting_listNodeJSBuildsV1",
1401
+ "title": "List NodeJS builds",
1402
+ "annotations": {
1403
+ "title": "List NodeJS builds",
1404
+ "readOnlyHint": true,
1405
+ "destructiveHint": false
1406
+ },
1181
1407
  "description": "Retrieve a paginated list of Node.js build processes for a specific website.\n\nEach build represents a single run of the Node.js build pipeline. Use the `states`\nquery parameter to filter results by build state (pending, running, completed, failed).\nUse the `uuid` from a build to poll its output via the `Get Node.js Build Logs` endpoint.",
1182
1408
  "method": "GET",
1183
1409
  "path": "/api/hosting/v1/accounts/{username}/websites/{domain}/nodejs/builds",
@@ -1229,6 +1455,12 @@ export default [
1229
1455
  },
1230
1456
  {
1231
1457
  "name": "hosting_startNode_jsBuildV1",
1458
+ "title": "Start Node.js build",
1459
+ "annotations": {
1460
+ "title": "Start Node.js build",
1461
+ "readOnlyHint": false,
1462
+ "destructiveHint": false
1463
+ },
1232
1464
  "description": "Start a Node.js build process using files already present on the website's file storage.\n\nWARNING: on success this overwrites the website's existing contents and cannot be\nundone — verify this is intended before calling this endpoint.\n\nThe `source_type` must be `archive` and `source_options.archive_path` must point to an\nexisting archive file on the server (relative to the website document root).\nUse the `Generate Upload URL` endpoint to obtain credentials and upload the archive first.\n\nTo auto-detect build settings from an archive before starting, first call the\n`Get Node.js Build Settings from Archive` endpoint.\n\nThe returned build `uuid` can be used to poll progress and retrieve logs via\nthe `Get Node.js Build Logs` endpoint.",
1233
1465
  "method": "POST",
1234
1466
  "path": "/api/hosting/v1/accounts/{username}/websites/{domain}/nodejs/builds",
@@ -1342,6 +1574,12 @@ export default [
1342
1574
  },
1343
1575
  {
1344
1576
  "name": "hosting_getNode_jsBuildSettingsFromArchiveV1",
1577
+ "title": "Get Node.js build settings from archive",
1578
+ "annotations": {
1579
+ "title": "Get Node.js build settings from archive",
1580
+ "readOnlyHint": true,
1581
+ "destructiveHint": false
1582
+ },
1345
1583
  "description": "Auto-detect Node.js build settings from a package.json inside an archive already on the server.\n\nUse this before calling `Start Node.js Build` to preview what settings will be used,\nor to let the user review and override values (framework, node version, root directory,\noutput directory, build script) before committing to a build.\n\nThe archive must already be present on the website's file storage. Use the\n`Generate Upload URL` endpoint to obtain credentials and upload the archive first.",
1346
1584
  "method": "GET",
1347
1585
  "path": "/api/hosting/v1/accounts/{username}/websites/{domain}/nodejs/builds/settings/from-archive",
@@ -1376,6 +1614,12 @@ export default [
1376
1614
  },
1377
1615
  {
1378
1616
  "name": "hosting_listNode_jsEnvironmentVariablesV1",
1617
+ "title": "List Node.js environment variables",
1618
+ "annotations": {
1619
+ "title": "List Node.js environment variables",
1620
+ "readOnlyHint": true,
1621
+ "destructiveHint": false
1622
+ },
1379
1623
  "description": "Lists the Node.js environment variables currently set for the website. Values are always\nmasked as `********` and cannot be read back through this API. Use this endpoint to see\nwhich keys are configured or to verify a change, not to read values.\n\nTo change variables, use the `Replace Node.js environment variables` endpoint. It replaces\nthe whole set, so never copy the masked values from this response into that request; send\nthe full desired set with real values taken from the project `.env` file or the user\nprompt instead.",
1380
1624
  "method": "GET",
1381
1625
  "path": "/api/hosting/v1/accounts/{username}/websites/{domain}/nodejs/builds/settings/env",
@@ -1405,6 +1649,13 @@ export default [
1405
1649
  },
1406
1650
  {
1407
1651
  "name": "hosting_replaceNode_jsEnvironmentVariablesV1",
1652
+ "title": "Replace Node.js environment variables",
1653
+ "annotations": {
1654
+ "title": "Replace Node.js environment variables",
1655
+ "readOnlyHint": false,
1656
+ "destructiveHint": true,
1657
+ "idempotentHint": true
1658
+ },
1408
1659
  "description": "Replaces the website's Node.js environment variables with the ones provided. This is a\nfull replace: any variable not in the request is deleted, and sending an empty `env_vars`\narray deletes every variable. Saving writes the values and restarts the running Node.js\nprocess.\n\nA restart is enough for apps that read environment variables at process start, such as\nExpress or NestJS. It is not enough for frameworks that bake variables into the build.\nNext.js standalone is one of those: build-time values (including `NEXT_PUBLIC_*`) need a\nfresh build. After this call, use the `Start Node.js build` endpoint so those apps\npick up the new values.\n\nThe `List Node.js environment variables` endpoint returns masked values (`********`), so\nnever copy values from it into this request. Always send the full desired set with real\nvalues taken from the project `.env` file or the user prompt.",
1409
1660
  "method": "PUT",
1410
1661
  "path": "/api/hosting/v1/accounts/{username}/websites/{domain}/nodejs/builds/settings/env",
@@ -1457,6 +1708,12 @@ export default [
1457
1708
  },
1458
1709
  {
1459
1710
  "name": "hosting_getNodeJSBuildLogsV1",
1711
+ "title": "Get NodeJS build logs",
1712
+ "annotations": {
1713
+ "title": "Get NodeJS build logs",
1714
+ "readOnlyHint": true,
1715
+ "destructiveHint": false
1716
+ },
1460
1717
  "description": "Retrieve logs from a specific Node.js build process.\n\nTo stream live output while a build is running, poll this endpoint repeatedly\nwhile the build state is `running`, passing the previously returned `lines` count\nas `from_line` to fetch only new output since the last call.\nLog content may contain ANSI escape sequences (color codes).",
1461
1718
  "method": "GET",
1462
1719
  "path": "/api/hosting/v1/accounts/{username}/websites/{domain}/nodejs/builds/{uuid}/logs",
@@ -1495,6 +1752,12 @@ export default [
1495
1752
  },
1496
1753
  {
1497
1754
  "name": "hosting_restartNode_jsApplicationV1",
1755
+ "title": "Restart Node.js application",
1756
+ "annotations": {
1757
+ "title": "Restart Node.js application",
1758
+ "readOnlyHint": false,
1759
+ "destructiveHint": false
1760
+ },
1498
1761
  "description": "Restarts the Node.js server process for the website. Does not rebuild or redeploy the\napplication. Use it to apply environment or configuration changes, or to recover a hung\napplication.\n\nOnly applicable to server-side applications (Express, Next.js, NestJS, etc.). Static\nfront-end apps (React, Vue, Vite) have no persistent server process, so restarting them\nhas no effect. Returns success even when the website has no server process to restart.",
1499
1762
  "method": "POST",
1500
1763
  "path": "/api/hosting/v1/accounts/{username}/websites/{domain}/nodejs/server/restart",
@@ -1524,6 +1787,12 @@ export default [
1524
1787
  },
1525
1788
  {
1526
1789
  "name": "hosting_listNode_jsVulnerabilitiesV1",
1790
+ "title": "List Node.js vulnerabilities",
1791
+ "annotations": {
1792
+ "title": "List Node.js vulnerabilities",
1793
+ "readOnlyHint": true,
1794
+ "destructiveHint": false
1795
+ },
1527
1796
  "description": "Lists known npm package vulnerabilities detected on a Node.js website, enriched with\nadvisory metadata (severity, CVSS score, CVE, advisory URL). Results are sorted from\nthe most severe to the least severe, then by publish date (newest first). Use the\n`severities` query parameter to filter.\n\nVulnerabilities with `is_patchable` set to `true` can be auto-fixed via the\n`Patch Node.js Vulnerabilities` endpoint, which opens a GitHub pull request with\nupdated package versions. Auto-fix is only available for websites deployed from a\nconnected GitHub repository. Vulnerabilities with `is_patching_in_progress` set to\n`true` are already included in an open patch pull request; while any patch pull\nrequest is open, new patch requests for this website are rejected until it is merged\nor closed.\n\nData comes from periodic dependency scans, so it may lag behind the latest deployment.\nAn empty list means the most recent scan found no vulnerabilities; it does not\nguarantee the current deployment is vulnerability-free. Available on Business and\nCloud Hosting plans.",
1528
1797
  "method": "GET",
1529
1798
  "path": "/api/hosting/v1/accounts/{username}/websites/{domain}/nodejs/vulnerabilities",
@@ -1568,6 +1837,12 @@ export default [
1568
1837
  },
1569
1838
  {
1570
1839
  "name": "hosting_patchNode_jsVulnerabilitiesV1",
1840
+ "title": "Patch Node.js vulnerabilities",
1841
+ "annotations": {
1842
+ "title": "Patch Node.js vulnerabilities",
1843
+ "readOnlyHint": false,
1844
+ "destructiveHint": false
1845
+ },
1571
1846
  "description": "Patches the selected Node.js vulnerabilities by updating the affected package versions\nin `package.json` and opening a GitHub pull request in the connected repository. The\ncustomer reviews and merges the pull request; merging triggers the automatic deployment.\n\nAuto-fix is only available for websites deployed from a connected GitHub repository.\nWebsites deployed from an archive have no auto-fix path and return a 404. The Hostinger\nGitHub App needs write access to the repository; without it the request fails with a\n403 explaining the missing permission.\n\nOnly vulnerabilities with `is_patchable` set to `true` can be patched. Non-patchable\nIDs in the selection are skipped; the pull request covers the patchable subset, listed\nin `patched_vulnerability_ids`. Selections without any patchable vulnerability are\nrejected with a 422. Only one patch pull request can be open at a time per website;\nclose or merge it before patching again. Available on Business and Cloud Hosting plans.",
1572
1847
  "method": "POST",
1573
1848
  "path": "/api/hosting/v1/accounts/{username}/websites/{domain}/nodejs/vulnerabilities/patch",
@@ -1606,6 +1881,12 @@ export default [
1606
1881
  },
1607
1882
  {
1608
1883
  "name": "hosting_listOrdersV1",
1884
+ "title": "List orders",
1885
+ "annotations": {
1886
+ "title": "List orders",
1887
+ "readOnlyHint": true,
1888
+ "destructiveHint": false
1889
+ },
1609
1890
  "description": "Retrieve a paginated list of orders accessible to the authenticated client.\n\nThis endpoint returns orders of your hosting accounts as well as orders\nof other client hosting accounts that have shared access with you.\n\nUse the available query parameters to filter results by order statuses\nor specific order IDs for more targeted results.",
1610
1891
  "method": "GET",
1611
1892
  "path": "/api/hosting/v1/orders",
@@ -1654,6 +1935,13 @@ export default [
1654
1935
  },
1655
1936
  {
1656
1937
  "name": "hosting_resetPHPExtensionsV1",
1938
+ "title": "Reset PHP extensions",
1939
+ "annotations": {
1940
+ "title": "Reset PHP extensions",
1941
+ "readOnlyHint": false,
1942
+ "destructiveHint": true,
1943
+ "idempotentHint": true
1944
+ },
1657
1945
  "description": "Resets all PHP extensions of the website to their default state.\n\nUse it to recover from extension conflicts or restore the original configuration.",
1658
1946
  "method": "PATCH",
1659
1947
  "path": "/api/hosting/v1/accounts/{username}/websites/{domain}/php/extensions/reset",
@@ -1683,6 +1971,12 @@ export default [
1683
1971
  },
1684
1972
  {
1685
1973
  "name": "hosting_getPHPDetailsV1",
1974
+ "title": "Get PHP details",
1975
+ "annotations": {
1976
+ "title": "Get PHP details",
1977
+ "readOnlyHint": true,
1978
+ "destructiveHint": false
1979
+ },
1686
1980
  "description": "Returns the full PHP configuration for the website: current version, available versions\n(supported and unsupported), enabled/disabled extensions, options with their current value,\ndefault, type and the plan limit (`max`), and conflicting extension groups.\n\nUse it to check the current PHP setup before updating the version, extensions or options.",
1687
1981
  "method": "GET",
1688
1982
  "path": "/api/hosting/v1/accounts/{username}/websites/{domain}/php/details",
@@ -1712,6 +2006,12 @@ export default [
1712
2006
  },
1713
2007
  {
1714
2008
  "name": "hosting_getPHPInfoV1",
2009
+ "title": "Get PHP info",
2010
+ "annotations": {
2011
+ "title": "Get PHP info",
2012
+ "readOnlyHint": true,
2013
+ "destructiveHint": false
2014
+ },
1715
2015
  "description": "Returns the full phpinfo page (HTML) for the website.\n\nUse it to debug PHP issues or inspect the complete PHP environment of the website.",
1716
2016
  "method": "GET",
1717
2017
  "path": "/api/hosting/v1/accounts/{username}/websites/{domain}/php/php-info",
@@ -1741,6 +2041,13 @@ export default [
1741
2041
  },
1742
2042
  {
1743
2043
  "name": "hosting_updatePHPExtensionsV1",
2044
+ "title": "Update PHP extensions",
2045
+ "annotations": {
2046
+ "title": "Update PHP extensions",
2047
+ "readOnlyHint": false,
2048
+ "destructiveHint": true,
2049
+ "idempotentHint": true
2050
+ },
1744
2051
  "description": "Enables or disables PHP extensions (modules) for the website.\n\nUse the Get PHP details endpoint to check the current extension states before changing them.",
1745
2052
  "method": "PATCH",
1746
2053
  "path": "/api/hosting/v1/accounts/{username}/websites/{domain}/php/extensions",
@@ -1786,6 +2093,13 @@ export default [
1786
2093
  },
1787
2094
  {
1788
2095
  "name": "hosting_updatePHPOptionsV1",
2096
+ "title": "Update PHP options",
2097
+ "annotations": {
2098
+ "title": "Update PHP options",
2099
+ "readOnlyHint": false,
2100
+ "destructiveHint": true,
2101
+ "idempotentHint": true
2102
+ },
1789
2103
  "description": "Updates PHP options for the website (e.g. `memory_limit`, `max_execution_time`, `upload_max_filesize`).\nOnly provide the options you want to change, inside the `options` object.\n\nValues above the account plan limit are silently capped to that limit, so the request can succeed\nwith a smaller applied value. Call the Get PHP details endpoint afterwards to read the applied value.",
1790
2104
  "method": "PATCH",
1791
2105
  "path": "/api/hosting/v1/accounts/{username}/websites/{domain}/php/options",
@@ -1821,6 +2135,13 @@ export default [
1821
2135
  },
1822
2136
  {
1823
2137
  "name": "hosting_updatePHPVersionV1",
2138
+ "title": "Update PHP version",
2139
+ "annotations": {
2140
+ "title": "Update PHP version",
2141
+ "readOnlyHint": false,
2142
+ "destructiveHint": true,
2143
+ "idempotentHint": true
2144
+ },
1824
2145
  "description": "Changes the PHP version of the website.\n\nUse the Get PHP details endpoint to see the versions available for the website.",
1825
2146
  "method": "PATCH",
1826
2147
  "path": "/api/hosting/v1/accounts/{username}/websites/{domain}/php/version",
@@ -1855,6 +2176,12 @@ export default [
1855
2176
  },
1856
2177
  {
1857
2178
  "name": "hosting_listWebsiteRedirectsV1",
2179
+ "title": "List website redirects",
2180
+ "annotations": {
2181
+ "title": "List website redirects",
2182
+ "readOnlyHint": true,
2183
+ "destructiveHint": false
2184
+ },
1858
2185
  "description": "Returns a paginated list of redirects configured for the selected website.",
1859
2186
  "method": "GET",
1860
2187
  "path": "/api/hosting/v1/accounts/{username}/websites/{domain}/redirects",
@@ -1892,6 +2219,12 @@ export default [
1892
2219
  },
1893
2220
  {
1894
2221
  "name": "hosting_createWebsiteRedirectV1",
2222
+ "title": "Create website redirect",
2223
+ "annotations": {
2224
+ "title": "Create website redirect",
2225
+ "readOnlyHint": false,
2226
+ "destructiveHint": false
2227
+ },
1895
2228
  "description": "Creates a redirect from a URL on the selected website to another URL or IP address.",
1896
2229
  "method": "POST",
1897
2230
  "path": "/api/hosting/v1/accounts/{username}/websites/{domain}/redirects",
@@ -1931,6 +2264,13 @@ export default [
1931
2264
  },
1932
2265
  {
1933
2266
  "name": "hosting_deleteWebsiteRedirectV1",
2267
+ "title": "Delete website redirect",
2268
+ "annotations": {
2269
+ "title": "Delete website redirect",
2270
+ "readOnlyHint": false,
2271
+ "destructiveHint": true,
2272
+ "idempotentHint": true
2273
+ },
1934
2274
  "description": "Permanently deletes the redirect identified by its source URL.\n\nPass the `from` value exactly as returned by the list redirects endpoint.",
1935
2275
  "method": "DELETE",
1936
2276
  "path": "/api/hosting/v1/accounts/{username}/websites/{domain}/redirects",
@@ -1965,6 +2305,12 @@ export default [
1965
2305
  },
1966
2306
  {
1967
2307
  "name": "hosting_listWebsitesV1",
2308
+ "title": "List websites",
2309
+ "annotations": {
2310
+ "title": "List websites",
2311
+ "readOnlyHint": true,
2312
+ "destructiveHint": false
2313
+ },
1968
2314
  "description": "Retrieve a paginated list of websites (CloudLinux, Builder, and Horizons) accessible to the\nauthenticated client.\n\nThis endpoint returns websites from your hosting accounts as well as\nwebsites from other client hosting accounts that have shared access\nwith you.\n\nEach website includes a `website_type` field describing the type of\nwebsite detected on the underlying platform (`wordpress`, `builder`,\n`horizons`, `nodejs`, or `other`). Some fields, such as\n`vhost_type`, `username`, and `root_directory`, only apply to\nCloudLinux websites and are null for other platforms.\n\nUse `website_types` to list only websites of a given detected type, e.g. only\nWordPress websites (`website_types=wordpress`) or only Node.js websites\n(`website_types=nodejs`). Combine with the other available query parameters to\nfilter by username, order ID, enabled status, or domain name for more targeted\nresults.",
1969
2315
  "method": "GET",
1970
2316
  "path": "/api/hosting/v1/websites",
@@ -2022,6 +2368,12 @@ export default [
2022
2368
  },
2023
2369
  {
2024
2370
  "name": "hosting_createWebsiteV1",
2371
+ "title": "Create website",
2372
+ "annotations": {
2373
+ "title": "Create website",
2374
+ "readOnlyHint": false,
2375
+ "destructiveHint": false
2376
+ },
2025
2377
  "description": "Create a new website for the authenticated client.\n\nProvide the domain name and associated order ID to create a new website.\nThe datacenter_code parameter is required when creating the first website\non a new hosting plan - this will set up and configure new hosting account\nin the selected datacenter.\n\nSubsequent websites will be hosted on the same datacenter automatically.\n\nWebsite creation takes up to a few minutes to complete. Check the\nwebsites list endpoint to see when your new website becomes available.",
2026
2378
  "method": "POST",
2027
2379
  "path": "/api/hosting/v1/websites",
@@ -2055,6 +2407,12 @@ export default [
2055
2407
  },
2056
2408
  {
2057
2409
  "name": "hosting_deployStaticSiteArchiveV1",
2410
+ "title": "Deploy static site archive",
2411
+ "annotations": {
2412
+ "title": "Deploy static site archive",
2413
+ "readOnlyHint": false,
2414
+ "destructiveHint": true
2415
+ },
2058
2416
  "description": "Deploy a static application from an archive file.\n\nWARNING: this overwrites the website's existing contents and cannot be undone —\nverify this is intended before calling this endpoint.\n\nThis endpoint allows you to deploy a static application from an archive\nfile that has been uploaded to the website's directory.\n\nThis only works for static sites (pre-built HTML/CSS/JS with no build step). For\nNode.js applications, use `Create NodeJS build from archive` instead, or\n`Start Node.js build` if the archive is already uploaded. For WordPress sites,\nuse `Import WordPress website`.",
2059
2417
  "method": "POST",
2060
2418
  "path": "/api/hosting/v1/accounts/{username}/websites/{domain}/deploy",
@@ -2089,6 +2447,13 @@ export default [
2089
2447
  },
2090
2448
  {
2091
2449
  "name": "hosting_deleteWebsiteV1",
2450
+ "title": "Delete website",
2451
+ "annotations": {
2452
+ "title": "Delete website",
2453
+ "readOnlyHint": false,
2454
+ "destructiveHint": true,
2455
+ "idempotentHint": true
2456
+ },
2092
2457
  "description": "This endpoint permanently removes a website and all of its data. This action\ncannot be undone. Before calling it, make sure the user understands the\nconsequences and explicitly confirms that they want to proceed.\n\nAll website files, databases and related configuration will be removed.\nThe hosting plan itself is kept, so a new website can be created on it afterwards.\n\nSupported websites: main and addon domain websites on web hosting plans, and\nWebsite Builder websites. Parked domains and subdomains cannot be deleted with\nthis endpoint. The domain must be the exact website domain, not a preview\ndomain or an alias.\n\nReturns 404 when the domain does not exist or does not belong to the\nauthenticated client.\n\nWebsite removal is processed asynchronously and can take a few minutes to\ncomplete. The response returns before the removal finishes.",
2093
2458
  "method": "DELETE",
2094
2459
  "path": "/api/hosting/v1/websites/{domain}",