Onidel Cloud
  • Onidel Home Page
  • Onidel Cloud Panel
  • Cloud Status
  • Introduction
  • Information
    • Networking
    • Hardware Specifications
    • Datacenters
  • API Reference
    • Changelog
    • Authentication
    • OS Template
    • Instance Type
    • Instance Price
    • Team
      • Get Teams
    • Virtual Machine
      • List Instances
      • Get Instance Backups
      • Create Instance
      • Get Instance
      • Update Instance
      • Stop Instance
      • Reboot Instance
      • Snapshot Instance
      • Delete Instance
    • Backups
      • List Backups
      • Generate Download URL
    • Snapshots
      • List Snapshots
      • Delete Snapshot
      • Generate Download URL
  • Features
    • Data Transfer (Bandwidth) Pooling
    • Hourly Billing
    • VM Scaling
    • BYOIP & BGP
    • Attach a Snapshot/Backup to your Server
    • Peer Server
  • Automatic Backup
  • Cloud Server
    • IPv4 Configuration
    • IPv6 Configuration
    • Using Custom ISO
    • Reverse DNS
    • Disable Secure Boot
    • Backup and Snapshot Download
  • ACCOUNT
    • Supported Currencies
    • Changing Currency
    • Chargebacks & Disputes
    • Enable 2-FA
    • Affiliate Program
  • Policies
    • Service Level Agreement
    • Terms of Service
    • Acceptable Usage Policy
    • Privacy Policy
Powered by GitBook
On this page
  1. API Reference
  2. Virtual Machine

Create Instance

API Version: 1.1.0 (06-Jan-2025)

PreviousGet Instance BackupsNextGet Instance

Last updated 5 months ago

Provision a new VPS

post

Provision a new VPS

Authorizations
Body
hostnamestring · stringOptionalExample: vm-hostname
payment_cyclestring · enumOptionalPossible values:
instance_typestring · uuidOptionalExample: ea645d53-c0e5-406d-8863-9ecd4235be94
locationstring · stringOptionalExample: Sydney
cpuinteger · int64OptionalExample: 2
raminteger · int64OptionalExample: 4096
diskinteger · int64OptionalExample: 40
osinteger · int64OptionalExample: 2
team_idstring · uuidOptionalExample: 6484a164-d355-4947-ac2c-e8c09fb24fb0
Responses
201
Successful operation
400
Bad request
402
Payment required
403
Forbidden
404
Not found
post
POST /vm HTTP/1.1
Host: api.cloud.onidel.com
Authorization: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 211

{
  "hostname": "vm-hostname",
  "payment_cycle": "hourly",
  "instance_type": "ea645d53-c0e5-406d-8863-9ecd4235be94",
  "location": "Sydney",
  "cpu": 2,
  "ram": 4096,
  "disk": 40,
  "os": 2,
  "team_id": "6484a164-d355-4947-ac2c-e8c09fb24fb0"
}

No content