Endpoints
Base URL: https://api.prvtech.com/v1. Requires a valid API key — see Authentication.
Overview
Method | Endpoint | Description | Scope |
|---|---|---|---|
|
| List all instances |
|
|
| Create instance |
|
|
| Get details |
|
|
| Perform action |
|
|
| Destroy instance |
|
Create Fields
Field | Type | Required | Description |
|---|---|---|---|
| string | Yes | Region code (see Instances) |
| string | Yes | Plan ID |
| string | Yes | OS image ID |
| string | No | Server hostname |
| array | No | SSH key IDs |
| string | No | Cloud-init script |
| string | No | See Networking |
| string | No | See Projects |
Actions
Action | Description | Downtime |
|---|---|---|
| Power on | No |
| Shut down | Yes |
| Hard reboot | Yes |
| Reinstall OS | Yes |
| Change plan | Yes |
| Create snapshot | No |
DELETE /instances/{id} destroys the instance. Attached volumes are detached but kept.