hostinger-api-mcp 1.11.0 → 1.11.2
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 +47 -2
- package/gemini-extension.json +1 -1
- package/package.json +1 -1
- package/server.json +2 -2
- package/src/core/runtime.js +1 -1
- package/src/core/runtime.ts +1 -1
- package/src/core/tools/agency-hosting.js +177 -0
- package/src/core/tools/agency-hosting.ts +177 -0
- package/src/core/tools/all.js +177 -0
- package/src/core/tools/all.ts +177 -0
- package/src/servers/agency-hosting.js +1 -1
- package/src/servers/agency-hosting.ts +1 -1
- package/src/servers/all.js +1 -1
- package/src/servers/all.ts +1 -1
- package/src/servers/billing.js +1 -1
- package/src/servers/billing.ts +1 -1
- package/src/servers/dns.js +1 -1
- package/src/servers/dns.ts +1 -1
- package/src/servers/domains.js +1 -1
- package/src/servers/domains.ts +1 -1
- package/src/servers/ecommerce.js +1 -1
- package/src/servers/ecommerce.ts +1 -1
- package/src/servers/horizons.js +1 -1
- package/src/servers/horizons.ts +1 -1
- package/src/servers/hosting.js +1 -1
- package/src/servers/hosting.ts +1 -1
- package/src/servers/mail.js +1 -1
- package/src/servers/mail.ts +1 -1
- package/src/servers/reach.js +1 -1
- package/src/servers/reach.ts +1 -1
- package/src/servers/vps.js +1 -1
- package/src/servers/vps.ts +1 -1
- package/src/servers/wordpress.js +1 -1
- package/src/servers/wordpress.ts +1 -1
- package/types.d.ts +123 -0
package/README.md
CHANGED
|
@@ -49,8 +49,8 @@ pnpm update -g hostinger-api-mcp
|
|
|
49
49
|
|
|
50
50
|
This package installs the following MCP server commands:
|
|
51
51
|
|
|
52
|
-
- `hostinger-api-mcp` — unified server with every tool (
|
|
53
|
-
- `hostinger-agency-hosting-mcp` —
|
|
52
|
+
- `hostinger-api-mcp` — unified server with every tool (233 total)
|
|
53
|
+
- `hostinger-agency-hosting-mcp` — 23 tools for agency-hosting
|
|
54
54
|
- `hostinger-billing-mcp` — 7 tools for billing
|
|
55
55
|
- `hostinger-dns-mcp` — 8 tools for dns
|
|
56
56
|
- `hostinger-domains-mcp` — 23 tools for domains
|
|
@@ -360,6 +360,51 @@ The operation is idempotent: deleting a cron job that does not exist succeeds wi
|
|
|
360
360
|
- **Method**: `DELETE`
|
|
361
361
|
- **Path**: `/api/agency-hosting/v1/websites/{website_uid}/cron-jobs/{uuid}`
|
|
362
362
|
|
|
363
|
+
#### agency-hosting_listAgencyPlanWebsiteDatabasesV1
|
|
364
|
+
|
|
365
|
+
Returns a paginated list of MySQL databases created for an Agency Plan website.
|
|
366
|
+
|
|
367
|
+
Each entry includes the database's non-system users.
|
|
368
|
+
|
|
369
|
+
- **Method**: `GET`
|
|
370
|
+
- **Path**: `/api/agency-hosting/v1/websites/{website_uid}/databases`
|
|
371
|
+
|
|
372
|
+
#### agency-hosting_createAgencyPlanWebsiteDatabaseV1
|
|
373
|
+
|
|
374
|
+
Creates a MySQL database with a dedicated user for an Agency Plan website.
|
|
375
|
+
|
|
376
|
+
The database name, username, and password must all be provided by the caller.
|
|
377
|
+
|
|
378
|
+
- **Method**: `POST`
|
|
379
|
+
- **Path**: `/api/agency-hosting/v1/websites/{website_uid}/databases`
|
|
380
|
+
|
|
381
|
+
#### agency-hosting_deleteAgencyPlanWebsiteDatabaseV1
|
|
382
|
+
|
|
383
|
+
Permanently deletes a MySQL database and all its data from an Agency Plan website, including its users.
|
|
384
|
+
|
|
385
|
+
The operation is idempotent: deleting a database that does not exist succeeds without error.
|
|
386
|
+
|
|
387
|
+
- **Method**: `DELETE`
|
|
388
|
+
- **Path**: `/api/agency-hosting/v1/websites/{website_uid}/databases/{database_name}`
|
|
389
|
+
|
|
390
|
+
#### agency-hosting_createAgencyPlanWebsiteDatabaseUserV1
|
|
391
|
+
|
|
392
|
+
Creates a user for an existing database on an Agency Plan website.
|
|
393
|
+
|
|
394
|
+
Each database supports a single non-system user; creating a user for a database that already has one fails.
|
|
395
|
+
|
|
396
|
+
- **Method**: `POST`
|
|
397
|
+
- **Path**: `/api/agency-hosting/v1/websites/{website_uid}/databases/{database_name}/users`
|
|
398
|
+
|
|
399
|
+
#### agency-hosting_deleteAgencyPlanWebsiteDatabaseUserV1
|
|
400
|
+
|
|
401
|
+
Permanently deletes a database user from an Agency Plan website database, revoking all access it had.
|
|
402
|
+
|
|
403
|
+
The operation is idempotent: deleting a user that does not exist succeeds without error.
|
|
404
|
+
|
|
405
|
+
- **Method**: `DELETE`
|
|
406
|
+
- **Path**: `/api/agency-hosting/v1/websites/{website_uid}/databases/{database_name}/users/{database_user_name}`
|
|
407
|
+
|
|
363
408
|
#### agency-hosting_getAgencyPlanWebsiteDetailsV1
|
|
364
409
|
|
|
365
410
|
Retrieves detailed information about a specific Agency Plan website, including configuration,
|
package/gemini-extension.json
CHANGED
package/package.json
CHANGED
package/server.json
CHANGED
|
@@ -6,12 +6,12 @@
|
|
|
6
6
|
"url": "https://github.com/hostinger/api-mcp-server",
|
|
7
7
|
"source": "github"
|
|
8
8
|
},
|
|
9
|
-
"version": "1.11.
|
|
9
|
+
"version": "1.11.2",
|
|
10
10
|
"packages": [
|
|
11
11
|
{
|
|
12
12
|
"registryType": "npm",
|
|
13
13
|
"identifier": "hostinger-api-mcp",
|
|
14
|
-
"version": "1.11.
|
|
14
|
+
"version": "1.11.2",
|
|
15
15
|
"transport": {
|
|
16
16
|
"type": "stdio"
|
|
17
17
|
},
|
package/src/core/runtime.js
CHANGED
package/src/core/runtime.ts
CHANGED
|
@@ -575,6 +575,183 @@ export default [
|
|
|
575
575
|
],
|
|
576
576
|
"group": "agency-hosting"
|
|
577
577
|
},
|
|
578
|
+
{
|
|
579
|
+
"name": "agency-hosting_listAgencyPlanWebsiteDatabasesV1",
|
|
580
|
+
"description": "Returns a paginated list of MySQL databases created for an Agency Plan website.\n\nEach entry includes the database's non-system users.",
|
|
581
|
+
"method": "GET",
|
|
582
|
+
"path": "/api/agency-hosting/v1/websites/{website_uid}/databases",
|
|
583
|
+
"inputSchema": {
|
|
584
|
+
"type": "object",
|
|
585
|
+
"properties": {
|
|
586
|
+
"website_uid": {
|
|
587
|
+
"type": "string",
|
|
588
|
+
"description": "Agency Plan website UID"
|
|
589
|
+
},
|
|
590
|
+
"page": {
|
|
591
|
+
"type": "integer",
|
|
592
|
+
"description": "Page number"
|
|
593
|
+
},
|
|
594
|
+
"per_page": {
|
|
595
|
+
"type": "integer",
|
|
596
|
+
"description": "Number of items per page"
|
|
597
|
+
}
|
|
598
|
+
},
|
|
599
|
+
"required": [
|
|
600
|
+
"website_uid"
|
|
601
|
+
]
|
|
602
|
+
},
|
|
603
|
+
"security": [
|
|
604
|
+
{
|
|
605
|
+
"apiToken": []
|
|
606
|
+
}
|
|
607
|
+
],
|
|
608
|
+
"group": "agency-hosting"
|
|
609
|
+
},
|
|
610
|
+
{
|
|
611
|
+
"name": "agency-hosting_createAgencyPlanWebsiteDatabaseV1",
|
|
612
|
+
"description": "Creates a MySQL database with a dedicated user for an Agency Plan website.\n\nThe database name, username, and password must all be provided by the caller.",
|
|
613
|
+
"method": "POST",
|
|
614
|
+
"path": "/api/agency-hosting/v1/websites/{website_uid}/databases",
|
|
615
|
+
"inputSchema": {
|
|
616
|
+
"type": "object",
|
|
617
|
+
"properties": {
|
|
618
|
+
"website_uid": {
|
|
619
|
+
"type": "string",
|
|
620
|
+
"description": "Agency Plan website UID"
|
|
621
|
+
},
|
|
622
|
+
"database_name": {
|
|
623
|
+
"type": "string",
|
|
624
|
+
"description": "Database name to create (alphanumeric characters)."
|
|
625
|
+
},
|
|
626
|
+
"database_user": {
|
|
627
|
+
"type": "string",
|
|
628
|
+
"description": "Database username to create alongside the database (alphanumeric characters)."
|
|
629
|
+
},
|
|
630
|
+
"password": {
|
|
631
|
+
"type": "string",
|
|
632
|
+
"description": "Password for the database user (requires mixed case, letters, and numbers)."
|
|
633
|
+
}
|
|
634
|
+
},
|
|
635
|
+
"required": [
|
|
636
|
+
"website_uid",
|
|
637
|
+
"database_name",
|
|
638
|
+
"database_user",
|
|
639
|
+
"password"
|
|
640
|
+
]
|
|
641
|
+
},
|
|
642
|
+
"security": [
|
|
643
|
+
{
|
|
644
|
+
"apiToken": []
|
|
645
|
+
}
|
|
646
|
+
],
|
|
647
|
+
"group": "agency-hosting"
|
|
648
|
+
},
|
|
649
|
+
{
|
|
650
|
+
"name": "agency-hosting_deleteAgencyPlanWebsiteDatabaseV1",
|
|
651
|
+
"description": "Permanently deletes a MySQL database and all its data from an Agency Plan website, including its users.\n\nThe operation is idempotent: deleting a database that does not exist succeeds without error.",
|
|
652
|
+
"method": "DELETE",
|
|
653
|
+
"path": "/api/agency-hosting/v1/websites/{website_uid}/databases/{database_name}",
|
|
654
|
+
"inputSchema": {
|
|
655
|
+
"type": "object",
|
|
656
|
+
"properties": {
|
|
657
|
+
"website_uid": {
|
|
658
|
+
"type": "string",
|
|
659
|
+
"description": "Agency Plan website UID"
|
|
660
|
+
},
|
|
661
|
+
"database_name": {
|
|
662
|
+
"type": "string",
|
|
663
|
+
"description": "Full database name as returned by the list databases endpoint."
|
|
664
|
+
}
|
|
665
|
+
},
|
|
666
|
+
"required": [
|
|
667
|
+
"website_uid",
|
|
668
|
+
"database_name"
|
|
669
|
+
]
|
|
670
|
+
},
|
|
671
|
+
"security": [
|
|
672
|
+
{
|
|
673
|
+
"apiToken": []
|
|
674
|
+
}
|
|
675
|
+
],
|
|
676
|
+
"group": "agency-hosting"
|
|
677
|
+
},
|
|
678
|
+
{
|
|
679
|
+
"name": "agency-hosting_createAgencyPlanWebsiteDatabaseUserV1",
|
|
680
|
+
"description": "Creates a user for an existing database on an Agency Plan website.\n\nEach database supports a single non-system user; creating a user for a database that already has one fails.",
|
|
681
|
+
"method": "POST",
|
|
682
|
+
"path": "/api/agency-hosting/v1/websites/{website_uid}/databases/{database_name}/users",
|
|
683
|
+
"inputSchema": {
|
|
684
|
+
"type": "object",
|
|
685
|
+
"properties": {
|
|
686
|
+
"website_uid": {
|
|
687
|
+
"type": "string",
|
|
688
|
+
"description": "Agency Plan website UID"
|
|
689
|
+
},
|
|
690
|
+
"database_name": {
|
|
691
|
+
"type": "string",
|
|
692
|
+
"description": "Full database name as returned by the list databases endpoint."
|
|
693
|
+
},
|
|
694
|
+
"database_user": {
|
|
695
|
+
"type": "string",
|
|
696
|
+
"description": "Database username to create (alphanumeric and underscores)."
|
|
697
|
+
},
|
|
698
|
+
"password": {
|
|
699
|
+
"type": "string",
|
|
700
|
+
"description": "Password for the database user (requires mixed case, letters, and numbers)."
|
|
701
|
+
},
|
|
702
|
+
"host": {
|
|
703
|
+
"type": "string",
|
|
704
|
+
"description": "Host the user connects from (IPv4, IPv6, % wildcard, or localhost). Defaults to localhost."
|
|
705
|
+
}
|
|
706
|
+
},
|
|
707
|
+
"required": [
|
|
708
|
+
"website_uid",
|
|
709
|
+
"database_name",
|
|
710
|
+
"database_user",
|
|
711
|
+
"password"
|
|
712
|
+
]
|
|
713
|
+
},
|
|
714
|
+
"security": [
|
|
715
|
+
{
|
|
716
|
+
"apiToken": []
|
|
717
|
+
}
|
|
718
|
+
],
|
|
719
|
+
"group": "agency-hosting"
|
|
720
|
+
},
|
|
721
|
+
{
|
|
722
|
+
"name": "agency-hosting_deleteAgencyPlanWebsiteDatabaseUserV1",
|
|
723
|
+
"description": "Permanently deletes a database user from an Agency Plan website database, revoking all access it had.\n\nThe operation is idempotent: deleting a user that does not exist succeeds without error.",
|
|
724
|
+
"method": "DELETE",
|
|
725
|
+
"path": "/api/agency-hosting/v1/websites/{website_uid}/databases/{database_name}/users/{database_user_name}",
|
|
726
|
+
"inputSchema": {
|
|
727
|
+
"type": "object",
|
|
728
|
+
"properties": {
|
|
729
|
+
"website_uid": {
|
|
730
|
+
"type": "string",
|
|
731
|
+
"description": "Agency Plan website UID"
|
|
732
|
+
},
|
|
733
|
+
"database_name": {
|
|
734
|
+
"type": "string",
|
|
735
|
+
"description": "Full database name as returned by the list databases endpoint."
|
|
736
|
+
},
|
|
737
|
+
"database_user_name": {
|
|
738
|
+
"type": "string",
|
|
739
|
+
"description": "Database username as returned by the list databases endpoint."
|
|
740
|
+
}
|
|
741
|
+
},
|
|
742
|
+
"required": [
|
|
743
|
+
"website_uid",
|
|
744
|
+
"database_name",
|
|
745
|
+
"database_user_name"
|
|
746
|
+
]
|
|
747
|
+
},
|
|
748
|
+
"security": [
|
|
749
|
+
{
|
|
750
|
+
"apiToken": []
|
|
751
|
+
}
|
|
752
|
+
],
|
|
753
|
+
"group": "agency-hosting"
|
|
754
|
+
},
|
|
578
755
|
{
|
|
579
756
|
"name": "agency-hosting_getAgencyPlanWebsiteDetailsV1",
|
|
580
757
|
"description": "Retrieves detailed information about a specific Agency Plan website, including configuration,\nstatus, metadata, hosting plan details, and resource quotas.",
|
|
@@ -589,6 +589,183 @@ const tools: OpenApiTool[] = [
|
|
|
589
589
|
],
|
|
590
590
|
"group": "agency-hosting"
|
|
591
591
|
},
|
|
592
|
+
{
|
|
593
|
+
"name": "agency-hosting_listAgencyPlanWebsiteDatabasesV1",
|
|
594
|
+
"description": "Returns a paginated list of MySQL databases created for an Agency Plan website.\n\nEach entry includes the database's non-system users.",
|
|
595
|
+
"method": "GET",
|
|
596
|
+
"path": "/api/agency-hosting/v1/websites/{website_uid}/databases",
|
|
597
|
+
"inputSchema": {
|
|
598
|
+
"type": "object",
|
|
599
|
+
"properties": {
|
|
600
|
+
"website_uid": {
|
|
601
|
+
"type": "string",
|
|
602
|
+
"description": "Agency Plan website UID"
|
|
603
|
+
},
|
|
604
|
+
"page": {
|
|
605
|
+
"type": "integer",
|
|
606
|
+
"description": "Page number"
|
|
607
|
+
},
|
|
608
|
+
"per_page": {
|
|
609
|
+
"type": "integer",
|
|
610
|
+
"description": "Number of items per page"
|
|
611
|
+
}
|
|
612
|
+
},
|
|
613
|
+
"required": [
|
|
614
|
+
"website_uid"
|
|
615
|
+
]
|
|
616
|
+
},
|
|
617
|
+
"security": [
|
|
618
|
+
{
|
|
619
|
+
"apiToken": []
|
|
620
|
+
}
|
|
621
|
+
],
|
|
622
|
+
"group": "agency-hosting"
|
|
623
|
+
},
|
|
624
|
+
{
|
|
625
|
+
"name": "agency-hosting_createAgencyPlanWebsiteDatabaseV1",
|
|
626
|
+
"description": "Creates a MySQL database with a dedicated user for an Agency Plan website.\n\nThe database name, username, and password must all be provided by the caller.",
|
|
627
|
+
"method": "POST",
|
|
628
|
+
"path": "/api/agency-hosting/v1/websites/{website_uid}/databases",
|
|
629
|
+
"inputSchema": {
|
|
630
|
+
"type": "object",
|
|
631
|
+
"properties": {
|
|
632
|
+
"website_uid": {
|
|
633
|
+
"type": "string",
|
|
634
|
+
"description": "Agency Plan website UID"
|
|
635
|
+
},
|
|
636
|
+
"database_name": {
|
|
637
|
+
"type": "string",
|
|
638
|
+
"description": "Database name to create (alphanumeric characters)."
|
|
639
|
+
},
|
|
640
|
+
"database_user": {
|
|
641
|
+
"type": "string",
|
|
642
|
+
"description": "Database username to create alongside the database (alphanumeric characters)."
|
|
643
|
+
},
|
|
644
|
+
"password": {
|
|
645
|
+
"type": "string",
|
|
646
|
+
"description": "Password for the database user (requires mixed case, letters, and numbers)."
|
|
647
|
+
}
|
|
648
|
+
},
|
|
649
|
+
"required": [
|
|
650
|
+
"website_uid",
|
|
651
|
+
"database_name",
|
|
652
|
+
"database_user",
|
|
653
|
+
"password"
|
|
654
|
+
]
|
|
655
|
+
},
|
|
656
|
+
"security": [
|
|
657
|
+
{
|
|
658
|
+
"apiToken": []
|
|
659
|
+
}
|
|
660
|
+
],
|
|
661
|
+
"group": "agency-hosting"
|
|
662
|
+
},
|
|
663
|
+
{
|
|
664
|
+
"name": "agency-hosting_deleteAgencyPlanWebsiteDatabaseV1",
|
|
665
|
+
"description": "Permanently deletes a MySQL database and all its data from an Agency Plan website, including its users.\n\nThe operation is idempotent: deleting a database that does not exist succeeds without error.",
|
|
666
|
+
"method": "DELETE",
|
|
667
|
+
"path": "/api/agency-hosting/v1/websites/{website_uid}/databases/{database_name}",
|
|
668
|
+
"inputSchema": {
|
|
669
|
+
"type": "object",
|
|
670
|
+
"properties": {
|
|
671
|
+
"website_uid": {
|
|
672
|
+
"type": "string",
|
|
673
|
+
"description": "Agency Plan website UID"
|
|
674
|
+
},
|
|
675
|
+
"database_name": {
|
|
676
|
+
"type": "string",
|
|
677
|
+
"description": "Full database name as returned by the list databases endpoint."
|
|
678
|
+
}
|
|
679
|
+
},
|
|
680
|
+
"required": [
|
|
681
|
+
"website_uid",
|
|
682
|
+
"database_name"
|
|
683
|
+
]
|
|
684
|
+
},
|
|
685
|
+
"security": [
|
|
686
|
+
{
|
|
687
|
+
"apiToken": []
|
|
688
|
+
}
|
|
689
|
+
],
|
|
690
|
+
"group": "agency-hosting"
|
|
691
|
+
},
|
|
692
|
+
{
|
|
693
|
+
"name": "agency-hosting_createAgencyPlanWebsiteDatabaseUserV1",
|
|
694
|
+
"description": "Creates a user for an existing database on an Agency Plan website.\n\nEach database supports a single non-system user; creating a user for a database that already has one fails.",
|
|
695
|
+
"method": "POST",
|
|
696
|
+
"path": "/api/agency-hosting/v1/websites/{website_uid}/databases/{database_name}/users",
|
|
697
|
+
"inputSchema": {
|
|
698
|
+
"type": "object",
|
|
699
|
+
"properties": {
|
|
700
|
+
"website_uid": {
|
|
701
|
+
"type": "string",
|
|
702
|
+
"description": "Agency Plan website UID"
|
|
703
|
+
},
|
|
704
|
+
"database_name": {
|
|
705
|
+
"type": "string",
|
|
706
|
+
"description": "Full database name as returned by the list databases endpoint."
|
|
707
|
+
},
|
|
708
|
+
"database_user": {
|
|
709
|
+
"type": "string",
|
|
710
|
+
"description": "Database username to create (alphanumeric and underscores)."
|
|
711
|
+
},
|
|
712
|
+
"password": {
|
|
713
|
+
"type": "string",
|
|
714
|
+
"description": "Password for the database user (requires mixed case, letters, and numbers)."
|
|
715
|
+
},
|
|
716
|
+
"host": {
|
|
717
|
+
"type": "string",
|
|
718
|
+
"description": "Host the user connects from (IPv4, IPv6, % wildcard, or localhost). Defaults to localhost."
|
|
719
|
+
}
|
|
720
|
+
},
|
|
721
|
+
"required": [
|
|
722
|
+
"website_uid",
|
|
723
|
+
"database_name",
|
|
724
|
+
"database_user",
|
|
725
|
+
"password"
|
|
726
|
+
]
|
|
727
|
+
},
|
|
728
|
+
"security": [
|
|
729
|
+
{
|
|
730
|
+
"apiToken": []
|
|
731
|
+
}
|
|
732
|
+
],
|
|
733
|
+
"group": "agency-hosting"
|
|
734
|
+
},
|
|
735
|
+
{
|
|
736
|
+
"name": "agency-hosting_deleteAgencyPlanWebsiteDatabaseUserV1",
|
|
737
|
+
"description": "Permanently deletes a database user from an Agency Plan website database, revoking all access it had.\n\nThe operation is idempotent: deleting a user that does not exist succeeds without error.",
|
|
738
|
+
"method": "DELETE",
|
|
739
|
+
"path": "/api/agency-hosting/v1/websites/{website_uid}/databases/{database_name}/users/{database_user_name}",
|
|
740
|
+
"inputSchema": {
|
|
741
|
+
"type": "object",
|
|
742
|
+
"properties": {
|
|
743
|
+
"website_uid": {
|
|
744
|
+
"type": "string",
|
|
745
|
+
"description": "Agency Plan website UID"
|
|
746
|
+
},
|
|
747
|
+
"database_name": {
|
|
748
|
+
"type": "string",
|
|
749
|
+
"description": "Full database name as returned by the list databases endpoint."
|
|
750
|
+
},
|
|
751
|
+
"database_user_name": {
|
|
752
|
+
"type": "string",
|
|
753
|
+
"description": "Database username as returned by the list databases endpoint."
|
|
754
|
+
}
|
|
755
|
+
},
|
|
756
|
+
"required": [
|
|
757
|
+
"website_uid",
|
|
758
|
+
"database_name",
|
|
759
|
+
"database_user_name"
|
|
760
|
+
]
|
|
761
|
+
},
|
|
762
|
+
"security": [
|
|
763
|
+
{
|
|
764
|
+
"apiToken": []
|
|
765
|
+
}
|
|
766
|
+
],
|
|
767
|
+
"group": "agency-hosting"
|
|
768
|
+
},
|
|
592
769
|
{
|
|
593
770
|
"name": "agency-hosting_getAgencyPlanWebsiteDetailsV1",
|
|
594
771
|
"description": "Retrieves detailed information about a specific Agency Plan website, including configuration,\nstatus, metadata, hosting plan details, and resource quotas.",
|
package/src/core/tools/all.js
CHANGED
|
@@ -832,6 +832,183 @@ export default [
|
|
|
832
832
|
],
|
|
833
833
|
"group": "agency-hosting"
|
|
834
834
|
},
|
|
835
|
+
{
|
|
836
|
+
"name": "agency-hosting_listAgencyPlanWebsiteDatabasesV1",
|
|
837
|
+
"description": "Returns a paginated list of MySQL databases created for an Agency Plan website.\n\nEach entry includes the database's non-system users.",
|
|
838
|
+
"method": "GET",
|
|
839
|
+
"path": "/api/agency-hosting/v1/websites/{website_uid}/databases",
|
|
840
|
+
"inputSchema": {
|
|
841
|
+
"type": "object",
|
|
842
|
+
"properties": {
|
|
843
|
+
"website_uid": {
|
|
844
|
+
"type": "string",
|
|
845
|
+
"description": "Agency Plan website UID"
|
|
846
|
+
},
|
|
847
|
+
"page": {
|
|
848
|
+
"type": "integer",
|
|
849
|
+
"description": "Page number"
|
|
850
|
+
},
|
|
851
|
+
"per_page": {
|
|
852
|
+
"type": "integer",
|
|
853
|
+
"description": "Number of items per page"
|
|
854
|
+
}
|
|
855
|
+
},
|
|
856
|
+
"required": [
|
|
857
|
+
"website_uid"
|
|
858
|
+
]
|
|
859
|
+
},
|
|
860
|
+
"security": [
|
|
861
|
+
{
|
|
862
|
+
"apiToken": []
|
|
863
|
+
}
|
|
864
|
+
],
|
|
865
|
+
"group": "agency-hosting"
|
|
866
|
+
},
|
|
867
|
+
{
|
|
868
|
+
"name": "agency-hosting_createAgencyPlanWebsiteDatabaseV1",
|
|
869
|
+
"description": "Creates a MySQL database with a dedicated user for an Agency Plan website.\n\nThe database name, username, and password must all be provided by the caller.",
|
|
870
|
+
"method": "POST",
|
|
871
|
+
"path": "/api/agency-hosting/v1/websites/{website_uid}/databases",
|
|
872
|
+
"inputSchema": {
|
|
873
|
+
"type": "object",
|
|
874
|
+
"properties": {
|
|
875
|
+
"website_uid": {
|
|
876
|
+
"type": "string",
|
|
877
|
+
"description": "Agency Plan website UID"
|
|
878
|
+
},
|
|
879
|
+
"database_name": {
|
|
880
|
+
"type": "string",
|
|
881
|
+
"description": "Database name to create (alphanumeric characters)."
|
|
882
|
+
},
|
|
883
|
+
"database_user": {
|
|
884
|
+
"type": "string",
|
|
885
|
+
"description": "Database username to create alongside the database (alphanumeric characters)."
|
|
886
|
+
},
|
|
887
|
+
"password": {
|
|
888
|
+
"type": "string",
|
|
889
|
+
"description": "Password for the database user (requires mixed case, letters, and numbers)."
|
|
890
|
+
}
|
|
891
|
+
},
|
|
892
|
+
"required": [
|
|
893
|
+
"website_uid",
|
|
894
|
+
"database_name",
|
|
895
|
+
"database_user",
|
|
896
|
+
"password"
|
|
897
|
+
]
|
|
898
|
+
},
|
|
899
|
+
"security": [
|
|
900
|
+
{
|
|
901
|
+
"apiToken": []
|
|
902
|
+
}
|
|
903
|
+
],
|
|
904
|
+
"group": "agency-hosting"
|
|
905
|
+
},
|
|
906
|
+
{
|
|
907
|
+
"name": "agency-hosting_deleteAgencyPlanWebsiteDatabaseV1",
|
|
908
|
+
"description": "Permanently deletes a MySQL database and all its data from an Agency Plan website, including its users.\n\nThe operation is idempotent: deleting a database that does not exist succeeds without error.",
|
|
909
|
+
"method": "DELETE",
|
|
910
|
+
"path": "/api/agency-hosting/v1/websites/{website_uid}/databases/{database_name}",
|
|
911
|
+
"inputSchema": {
|
|
912
|
+
"type": "object",
|
|
913
|
+
"properties": {
|
|
914
|
+
"website_uid": {
|
|
915
|
+
"type": "string",
|
|
916
|
+
"description": "Agency Plan website UID"
|
|
917
|
+
},
|
|
918
|
+
"database_name": {
|
|
919
|
+
"type": "string",
|
|
920
|
+
"description": "Full database name as returned by the list databases endpoint."
|
|
921
|
+
}
|
|
922
|
+
},
|
|
923
|
+
"required": [
|
|
924
|
+
"website_uid",
|
|
925
|
+
"database_name"
|
|
926
|
+
]
|
|
927
|
+
},
|
|
928
|
+
"security": [
|
|
929
|
+
{
|
|
930
|
+
"apiToken": []
|
|
931
|
+
}
|
|
932
|
+
],
|
|
933
|
+
"group": "agency-hosting"
|
|
934
|
+
},
|
|
935
|
+
{
|
|
936
|
+
"name": "agency-hosting_createAgencyPlanWebsiteDatabaseUserV1",
|
|
937
|
+
"description": "Creates a user for an existing database on an Agency Plan website.\n\nEach database supports a single non-system user; creating a user for a database that already has one fails.",
|
|
938
|
+
"method": "POST",
|
|
939
|
+
"path": "/api/agency-hosting/v1/websites/{website_uid}/databases/{database_name}/users",
|
|
940
|
+
"inputSchema": {
|
|
941
|
+
"type": "object",
|
|
942
|
+
"properties": {
|
|
943
|
+
"website_uid": {
|
|
944
|
+
"type": "string",
|
|
945
|
+
"description": "Agency Plan website UID"
|
|
946
|
+
},
|
|
947
|
+
"database_name": {
|
|
948
|
+
"type": "string",
|
|
949
|
+
"description": "Full database name as returned by the list databases endpoint."
|
|
950
|
+
},
|
|
951
|
+
"database_user": {
|
|
952
|
+
"type": "string",
|
|
953
|
+
"description": "Database username to create (alphanumeric and underscores)."
|
|
954
|
+
},
|
|
955
|
+
"password": {
|
|
956
|
+
"type": "string",
|
|
957
|
+
"description": "Password for the database user (requires mixed case, letters, and numbers)."
|
|
958
|
+
},
|
|
959
|
+
"host": {
|
|
960
|
+
"type": "string",
|
|
961
|
+
"description": "Host the user connects from (IPv4, IPv6, % wildcard, or localhost). Defaults to localhost."
|
|
962
|
+
}
|
|
963
|
+
},
|
|
964
|
+
"required": [
|
|
965
|
+
"website_uid",
|
|
966
|
+
"database_name",
|
|
967
|
+
"database_user",
|
|
968
|
+
"password"
|
|
969
|
+
]
|
|
970
|
+
},
|
|
971
|
+
"security": [
|
|
972
|
+
{
|
|
973
|
+
"apiToken": []
|
|
974
|
+
}
|
|
975
|
+
],
|
|
976
|
+
"group": "agency-hosting"
|
|
977
|
+
},
|
|
978
|
+
{
|
|
979
|
+
"name": "agency-hosting_deleteAgencyPlanWebsiteDatabaseUserV1",
|
|
980
|
+
"description": "Permanently deletes a database user from an Agency Plan website database, revoking all access it had.\n\nThe operation is idempotent: deleting a user that does not exist succeeds without error.",
|
|
981
|
+
"method": "DELETE",
|
|
982
|
+
"path": "/api/agency-hosting/v1/websites/{website_uid}/databases/{database_name}/users/{database_user_name}",
|
|
983
|
+
"inputSchema": {
|
|
984
|
+
"type": "object",
|
|
985
|
+
"properties": {
|
|
986
|
+
"website_uid": {
|
|
987
|
+
"type": "string",
|
|
988
|
+
"description": "Agency Plan website UID"
|
|
989
|
+
},
|
|
990
|
+
"database_name": {
|
|
991
|
+
"type": "string",
|
|
992
|
+
"description": "Full database name as returned by the list databases endpoint."
|
|
993
|
+
},
|
|
994
|
+
"database_user_name": {
|
|
995
|
+
"type": "string",
|
|
996
|
+
"description": "Database username as returned by the list databases endpoint."
|
|
997
|
+
}
|
|
998
|
+
},
|
|
999
|
+
"required": [
|
|
1000
|
+
"website_uid",
|
|
1001
|
+
"database_name",
|
|
1002
|
+
"database_user_name"
|
|
1003
|
+
]
|
|
1004
|
+
},
|
|
1005
|
+
"security": [
|
|
1006
|
+
{
|
|
1007
|
+
"apiToken": []
|
|
1008
|
+
}
|
|
1009
|
+
],
|
|
1010
|
+
"group": "agency-hosting"
|
|
1011
|
+
},
|
|
835
1012
|
{
|
|
836
1013
|
"name": "agency-hosting_getAgencyPlanWebsiteDetailsV1",
|
|
837
1014
|
"description": "Retrieves detailed information about a specific Agency Plan website, including configuration,\nstatus, metadata, hosting plan details, and resource quotas.",
|
package/src/core/tools/all.ts
CHANGED
|
@@ -846,6 +846,183 @@ const tools: OpenApiTool[] = [
|
|
|
846
846
|
],
|
|
847
847
|
"group": "agency-hosting"
|
|
848
848
|
},
|
|
849
|
+
{
|
|
850
|
+
"name": "agency-hosting_listAgencyPlanWebsiteDatabasesV1",
|
|
851
|
+
"description": "Returns a paginated list of MySQL databases created for an Agency Plan website.\n\nEach entry includes the database's non-system users.",
|
|
852
|
+
"method": "GET",
|
|
853
|
+
"path": "/api/agency-hosting/v1/websites/{website_uid}/databases",
|
|
854
|
+
"inputSchema": {
|
|
855
|
+
"type": "object",
|
|
856
|
+
"properties": {
|
|
857
|
+
"website_uid": {
|
|
858
|
+
"type": "string",
|
|
859
|
+
"description": "Agency Plan website UID"
|
|
860
|
+
},
|
|
861
|
+
"page": {
|
|
862
|
+
"type": "integer",
|
|
863
|
+
"description": "Page number"
|
|
864
|
+
},
|
|
865
|
+
"per_page": {
|
|
866
|
+
"type": "integer",
|
|
867
|
+
"description": "Number of items per page"
|
|
868
|
+
}
|
|
869
|
+
},
|
|
870
|
+
"required": [
|
|
871
|
+
"website_uid"
|
|
872
|
+
]
|
|
873
|
+
},
|
|
874
|
+
"security": [
|
|
875
|
+
{
|
|
876
|
+
"apiToken": []
|
|
877
|
+
}
|
|
878
|
+
],
|
|
879
|
+
"group": "agency-hosting"
|
|
880
|
+
},
|
|
881
|
+
{
|
|
882
|
+
"name": "agency-hosting_createAgencyPlanWebsiteDatabaseV1",
|
|
883
|
+
"description": "Creates a MySQL database with a dedicated user for an Agency Plan website.\n\nThe database name, username, and password must all be provided by the caller.",
|
|
884
|
+
"method": "POST",
|
|
885
|
+
"path": "/api/agency-hosting/v1/websites/{website_uid}/databases",
|
|
886
|
+
"inputSchema": {
|
|
887
|
+
"type": "object",
|
|
888
|
+
"properties": {
|
|
889
|
+
"website_uid": {
|
|
890
|
+
"type": "string",
|
|
891
|
+
"description": "Agency Plan website UID"
|
|
892
|
+
},
|
|
893
|
+
"database_name": {
|
|
894
|
+
"type": "string",
|
|
895
|
+
"description": "Database name to create (alphanumeric characters)."
|
|
896
|
+
},
|
|
897
|
+
"database_user": {
|
|
898
|
+
"type": "string",
|
|
899
|
+
"description": "Database username to create alongside the database (alphanumeric characters)."
|
|
900
|
+
},
|
|
901
|
+
"password": {
|
|
902
|
+
"type": "string",
|
|
903
|
+
"description": "Password for the database user (requires mixed case, letters, and numbers)."
|
|
904
|
+
}
|
|
905
|
+
},
|
|
906
|
+
"required": [
|
|
907
|
+
"website_uid",
|
|
908
|
+
"database_name",
|
|
909
|
+
"database_user",
|
|
910
|
+
"password"
|
|
911
|
+
]
|
|
912
|
+
},
|
|
913
|
+
"security": [
|
|
914
|
+
{
|
|
915
|
+
"apiToken": []
|
|
916
|
+
}
|
|
917
|
+
],
|
|
918
|
+
"group": "agency-hosting"
|
|
919
|
+
},
|
|
920
|
+
{
|
|
921
|
+
"name": "agency-hosting_deleteAgencyPlanWebsiteDatabaseV1",
|
|
922
|
+
"description": "Permanently deletes a MySQL database and all its data from an Agency Plan website, including its users.\n\nThe operation is idempotent: deleting a database that does not exist succeeds without error.",
|
|
923
|
+
"method": "DELETE",
|
|
924
|
+
"path": "/api/agency-hosting/v1/websites/{website_uid}/databases/{database_name}",
|
|
925
|
+
"inputSchema": {
|
|
926
|
+
"type": "object",
|
|
927
|
+
"properties": {
|
|
928
|
+
"website_uid": {
|
|
929
|
+
"type": "string",
|
|
930
|
+
"description": "Agency Plan website UID"
|
|
931
|
+
},
|
|
932
|
+
"database_name": {
|
|
933
|
+
"type": "string",
|
|
934
|
+
"description": "Full database name as returned by the list databases endpoint."
|
|
935
|
+
}
|
|
936
|
+
},
|
|
937
|
+
"required": [
|
|
938
|
+
"website_uid",
|
|
939
|
+
"database_name"
|
|
940
|
+
]
|
|
941
|
+
},
|
|
942
|
+
"security": [
|
|
943
|
+
{
|
|
944
|
+
"apiToken": []
|
|
945
|
+
}
|
|
946
|
+
],
|
|
947
|
+
"group": "agency-hosting"
|
|
948
|
+
},
|
|
949
|
+
{
|
|
950
|
+
"name": "agency-hosting_createAgencyPlanWebsiteDatabaseUserV1",
|
|
951
|
+
"description": "Creates a user for an existing database on an Agency Plan website.\n\nEach database supports a single non-system user; creating a user for a database that already has one fails.",
|
|
952
|
+
"method": "POST",
|
|
953
|
+
"path": "/api/agency-hosting/v1/websites/{website_uid}/databases/{database_name}/users",
|
|
954
|
+
"inputSchema": {
|
|
955
|
+
"type": "object",
|
|
956
|
+
"properties": {
|
|
957
|
+
"website_uid": {
|
|
958
|
+
"type": "string",
|
|
959
|
+
"description": "Agency Plan website UID"
|
|
960
|
+
},
|
|
961
|
+
"database_name": {
|
|
962
|
+
"type": "string",
|
|
963
|
+
"description": "Full database name as returned by the list databases endpoint."
|
|
964
|
+
},
|
|
965
|
+
"database_user": {
|
|
966
|
+
"type": "string",
|
|
967
|
+
"description": "Database username to create (alphanumeric and underscores)."
|
|
968
|
+
},
|
|
969
|
+
"password": {
|
|
970
|
+
"type": "string",
|
|
971
|
+
"description": "Password for the database user (requires mixed case, letters, and numbers)."
|
|
972
|
+
},
|
|
973
|
+
"host": {
|
|
974
|
+
"type": "string",
|
|
975
|
+
"description": "Host the user connects from (IPv4, IPv6, % wildcard, or localhost). Defaults to localhost."
|
|
976
|
+
}
|
|
977
|
+
},
|
|
978
|
+
"required": [
|
|
979
|
+
"website_uid",
|
|
980
|
+
"database_name",
|
|
981
|
+
"database_user",
|
|
982
|
+
"password"
|
|
983
|
+
]
|
|
984
|
+
},
|
|
985
|
+
"security": [
|
|
986
|
+
{
|
|
987
|
+
"apiToken": []
|
|
988
|
+
}
|
|
989
|
+
],
|
|
990
|
+
"group": "agency-hosting"
|
|
991
|
+
},
|
|
992
|
+
{
|
|
993
|
+
"name": "agency-hosting_deleteAgencyPlanWebsiteDatabaseUserV1",
|
|
994
|
+
"description": "Permanently deletes a database user from an Agency Plan website database, revoking all access it had.\n\nThe operation is idempotent: deleting a user that does not exist succeeds without error.",
|
|
995
|
+
"method": "DELETE",
|
|
996
|
+
"path": "/api/agency-hosting/v1/websites/{website_uid}/databases/{database_name}/users/{database_user_name}",
|
|
997
|
+
"inputSchema": {
|
|
998
|
+
"type": "object",
|
|
999
|
+
"properties": {
|
|
1000
|
+
"website_uid": {
|
|
1001
|
+
"type": "string",
|
|
1002
|
+
"description": "Agency Plan website UID"
|
|
1003
|
+
},
|
|
1004
|
+
"database_name": {
|
|
1005
|
+
"type": "string",
|
|
1006
|
+
"description": "Full database name as returned by the list databases endpoint."
|
|
1007
|
+
},
|
|
1008
|
+
"database_user_name": {
|
|
1009
|
+
"type": "string",
|
|
1010
|
+
"description": "Database username as returned by the list databases endpoint."
|
|
1011
|
+
}
|
|
1012
|
+
},
|
|
1013
|
+
"required": [
|
|
1014
|
+
"website_uid",
|
|
1015
|
+
"database_name",
|
|
1016
|
+
"database_user_name"
|
|
1017
|
+
]
|
|
1018
|
+
},
|
|
1019
|
+
"security": [
|
|
1020
|
+
{
|
|
1021
|
+
"apiToken": []
|
|
1022
|
+
}
|
|
1023
|
+
],
|
|
1024
|
+
"group": "agency-hosting"
|
|
1025
|
+
},
|
|
849
1026
|
{
|
|
850
1027
|
"name": "agency-hosting_getAgencyPlanWebsiteDetailsV1",
|
|
851
1028
|
"description": "Retrieves detailed information about a specific Agency Plan website, including configuration,\nstatus, metadata, hosting plan details, and resource quotas.",
|
|
@@ -3,4 +3,4 @@
|
|
|
3
3
|
import { startServer } from '../core/runtime.js';
|
|
4
4
|
import tools from '../core/tools/agency-hosting.js';
|
|
5
5
|
|
|
6
|
-
startServer({ name: 'hostinger-agency-hosting-mcp', version: '1.11.
|
|
6
|
+
startServer({ name: 'hostinger-agency-hosting-mcp', version: '1.11.2', tools });
|
|
@@ -3,4 +3,4 @@
|
|
|
3
3
|
import { startServer } from '../core/runtime.js';
|
|
4
4
|
import tools from '../core/tools/agency-hosting.js';
|
|
5
5
|
|
|
6
|
-
startServer({ name: 'hostinger-agency-hosting-mcp', version: '1.11.
|
|
6
|
+
startServer({ name: 'hostinger-agency-hosting-mcp', version: '1.11.2', tools });
|
package/src/servers/all.js
CHANGED
package/src/servers/all.ts
CHANGED
package/src/servers/billing.js
CHANGED
package/src/servers/billing.ts
CHANGED
package/src/servers/dns.js
CHANGED
package/src/servers/dns.ts
CHANGED
package/src/servers/domains.js
CHANGED
package/src/servers/domains.ts
CHANGED
package/src/servers/ecommerce.js
CHANGED
package/src/servers/ecommerce.ts
CHANGED
package/src/servers/horizons.js
CHANGED
package/src/servers/horizons.ts
CHANGED
package/src/servers/hosting.js
CHANGED
package/src/servers/hosting.ts
CHANGED
package/src/servers/mail.js
CHANGED
package/src/servers/mail.ts
CHANGED
package/src/servers/reach.js
CHANGED
package/src/servers/reach.ts
CHANGED
package/src/servers/vps.js
CHANGED
package/src/servers/vps.ts
CHANGED
package/src/servers/wordpress.js
CHANGED
package/src/servers/wordpress.ts
CHANGED
package/types.d.ts
CHANGED
|
@@ -509,6 +509,129 @@ The operation is idempotent: deleting a cron job that does not exist succeeds wi
|
|
|
509
509
|
response: any; // Response structure will depend on the API
|
|
510
510
|
};
|
|
511
511
|
|
|
512
|
+
/**
|
|
513
|
+
* Returns a paginated list of MySQL databases created for an Agency Plan website.
|
|
514
|
+
|
|
515
|
+
Each entry includes the database's non-system users.
|
|
516
|
+
*/
|
|
517
|
+
"agency-hosting_listAgencyPlanWebsiteDatabasesV1": {
|
|
518
|
+
params: {
|
|
519
|
+
/**
|
|
520
|
+
* Agency Plan website UID
|
|
521
|
+
*/
|
|
522
|
+
website_uid: string;
|
|
523
|
+
/**
|
|
524
|
+
* Page number
|
|
525
|
+
*/
|
|
526
|
+
page?: number;
|
|
527
|
+
/**
|
|
528
|
+
* Number of items per page
|
|
529
|
+
*/
|
|
530
|
+
per_page?: number;
|
|
531
|
+
};
|
|
532
|
+
response: any; // Response structure will depend on the API
|
|
533
|
+
};
|
|
534
|
+
|
|
535
|
+
/**
|
|
536
|
+
* Creates a MySQL database with a dedicated user for an Agency Plan website.
|
|
537
|
+
|
|
538
|
+
The database name, username, and password must all be provided by the caller.
|
|
539
|
+
*/
|
|
540
|
+
"agency-hosting_createAgencyPlanWebsiteDatabaseV1": {
|
|
541
|
+
params: {
|
|
542
|
+
/**
|
|
543
|
+
* Agency Plan website UID
|
|
544
|
+
*/
|
|
545
|
+
website_uid: string;
|
|
546
|
+
/**
|
|
547
|
+
* Database name to create (alphanumeric characters).
|
|
548
|
+
*/
|
|
549
|
+
database_name: string;
|
|
550
|
+
/**
|
|
551
|
+
* Database username to create alongside the database (alphanumeric characters).
|
|
552
|
+
*/
|
|
553
|
+
database_user: string;
|
|
554
|
+
/**
|
|
555
|
+
* Password for the database user (requires mixed case, letters, and numbers).
|
|
556
|
+
*/
|
|
557
|
+
password: string;
|
|
558
|
+
};
|
|
559
|
+
response: any; // Response structure will depend on the API
|
|
560
|
+
};
|
|
561
|
+
|
|
562
|
+
/**
|
|
563
|
+
* Permanently deletes a MySQL database and all its data from an Agency Plan website, including its users.
|
|
564
|
+
|
|
565
|
+
The operation is idempotent: deleting a database that does not exist succeeds without error.
|
|
566
|
+
*/
|
|
567
|
+
"agency-hosting_deleteAgencyPlanWebsiteDatabaseV1": {
|
|
568
|
+
params: {
|
|
569
|
+
/**
|
|
570
|
+
* Agency Plan website UID
|
|
571
|
+
*/
|
|
572
|
+
website_uid: string;
|
|
573
|
+
/**
|
|
574
|
+
* Full database name as returned by the list databases endpoint.
|
|
575
|
+
*/
|
|
576
|
+
database_name: string;
|
|
577
|
+
};
|
|
578
|
+
response: any; // Response structure will depend on the API
|
|
579
|
+
};
|
|
580
|
+
|
|
581
|
+
/**
|
|
582
|
+
* Creates a user for an existing database on an Agency Plan website.
|
|
583
|
+
|
|
584
|
+
Each database supports a single non-system user; creating a user for a database that already has one fails.
|
|
585
|
+
*/
|
|
586
|
+
"agency-hosting_createAgencyPlanWebsiteDatabaseUserV1": {
|
|
587
|
+
params: {
|
|
588
|
+
/**
|
|
589
|
+
* Agency Plan website UID
|
|
590
|
+
*/
|
|
591
|
+
website_uid: string;
|
|
592
|
+
/**
|
|
593
|
+
* Full database name as returned by the list databases endpoint.
|
|
594
|
+
*/
|
|
595
|
+
database_name: string;
|
|
596
|
+
/**
|
|
597
|
+
* Database username to create (alphanumeric and underscores).
|
|
598
|
+
*/
|
|
599
|
+
database_user: string;
|
|
600
|
+
/**
|
|
601
|
+
* Password for the database user (requires mixed case, letters, and numbers).
|
|
602
|
+
*/
|
|
603
|
+
password: string;
|
|
604
|
+
/**
|
|
605
|
+
* Host the user connects from (IPv4, IPv6, % wildcard, or localhost). Defaults to localhost.
|
|
606
|
+
*/
|
|
607
|
+
host?: string;
|
|
608
|
+
};
|
|
609
|
+
response: any; // Response structure will depend on the API
|
|
610
|
+
};
|
|
611
|
+
|
|
612
|
+
/**
|
|
613
|
+
* Permanently deletes a database user from an Agency Plan website database, revoking all access it had.
|
|
614
|
+
|
|
615
|
+
The operation is idempotent: deleting a user that does not exist succeeds without error.
|
|
616
|
+
*/
|
|
617
|
+
"agency-hosting_deleteAgencyPlanWebsiteDatabaseUserV1": {
|
|
618
|
+
params: {
|
|
619
|
+
/**
|
|
620
|
+
* Agency Plan website UID
|
|
621
|
+
*/
|
|
622
|
+
website_uid: string;
|
|
623
|
+
/**
|
|
624
|
+
* Full database name as returned by the list databases endpoint.
|
|
625
|
+
*/
|
|
626
|
+
database_name: string;
|
|
627
|
+
/**
|
|
628
|
+
* Database username as returned by the list databases endpoint.
|
|
629
|
+
*/
|
|
630
|
+
database_user_name: string;
|
|
631
|
+
};
|
|
632
|
+
response: any; // Response structure will depend on the API
|
|
633
|
+
};
|
|
634
|
+
|
|
512
635
|
/**
|
|
513
636
|
* Retrieves detailed information about a specific Agency Plan website, including configuration,
|
|
514
637
|
status, metadata, hosting plan details, and resource quotas.
|