---
title: "Delete post-install script"
method: DELETE
path: "/api/vps/v1/post-install-scripts/{postInstallScriptId}"
tags: ["VPS: Post-install scripts"]
---

# Delete post-install script

`DELETE /api/vps/v1/post-install-scripts/{postInstallScriptId}`

Delete a post-install script from your account.
       
Use this endpoint to remove unused automation scripts.

## Path parameters

- `postInstallScriptId` integer, required

## Response `200`

Success empty response

- CommonSuccessEmptyResource
  - `message` string

## Other responses

- `401` — Unauthenticated response
- `500` — Error response

---

[API](https://skmtc.net/hostinger/apis/hostinger-api.md) · [All operations](https://skmtc.net/hostinger/apis/hostinger-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/hostinger/hostinger-api/revisions/74abfea76e36/schema)
