VPS_getAttachedPublicKeysV1
Retrieve SSH public keys associated with a specific virtual machine. Use this API tool to view and manage configured SSH keys for Hostinger VPS instances.
Instructions
Retrieve public keys attached to a specified virtual machine.
Use this endpoint to view SSH keys configured for specific VPS instances.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | Page number | |
| virtualMachineId | Yes | Virtual Machine ID |
Input Schema (JSON Schema)
{
"properties": {
"page": {
"description": "Page number",
"type": "integer"
},
"virtualMachineId": {
"description": "Virtual Machine ID",
"type": "integer"
}
},
"required": [
"virtualMachineId"
],
"type": "object"
}
Implementation Reference
- types.d.ts:1825-1837 (schema)Schema definition for the VPS_getAttachedPublicKeysV1 tool in the APITools interface. Defines input parameters: virtualMachineId (number, required) and page (number, optional). Output is any type."VPS_getAttachedPublicKeysV1": { params: { /** * Virtual Machine ID */ virtualMachineId: number; /** * Page number */ page?: number; }; response: any; // Response structure will depend on the API };