v52

latestOpenAPI 3.0.0raw.githubusercontent.com2026-08-03269339953.6 KB
VPS: Post-install scripts

Get post-install script

Retrieve post-install script by its ID.

Use this endpoint to view specific automation script details.

get/api/vps/v1/post-install-scripts/{postInstallScriptId}

Path parameters

postInstallScriptIdinteger required
Example:9568314

Post-install script ID

Response

Success response

idinteger

Post-install script ID

namestring

Name of the script

contentstring

Content of the script

created_atstring date-time
updated_atstring date-time

Example response

{
  "id": 325,
  "name": "My Setup Script",
  "content": "#!/bin/bash\\napt-get update\\napt-get install -y nginx",
  "created_at": "2025-02-27T11:54:22Z",
  "updated_at": "2025-03-19T11:54:22Z"
}