DewaVPS

API Reference

Complete REST API reference for the DewaVPS platform. Browse endpoints by category below.

networks

pricing

instance

Get all instancesRetrieve a paginated list of all your virtual machine instances.Create instanceCreate a new virtual machine instance with the specified configuration.Get detail instanceRetrieve detailed information about a specific instance.Get RRD dataRetrieve monitoring metrics (CPU, memory, network, disk) for an instance.Clone instanceClone an existing instance to a new instance.Virtual console websocketGet websocket connection details for the virtual console of an instance.Reinstall instanceReinstall the operating system on an instance.Delete instanceTerminate and delete a virtual machine instance.Start instanceStart a stopped instance.Stop instanceStop a running instance.Restart instanceRestart a running instance.Get instances without public IPRetrieve a list of instances that do not have a public IP address assigned.Update private network instanceAttach or detach an instance from a private network (vswitch).Add public network to instanceAdd a public IP address to an instance.Change public network instanceChange or remove the public IP address on an instance.Resize instanceResize the CPU, memory, and storage of an instance.Set password instanceUpdate the root/admin password for an instance.Change tier instanceMigrate an instance to a different compute tier.Get change tier costRetrieve the estimated cost for changing an instance to a different tier.Update hostnameUpdate the hostname of an instance.Get snapshotsRetrieve a list of snapshots for a specific instance.Get snapshot priceRetrieve the estimated monthly price for a snapshot of a specific instance.Create snapshotCreate a new snapshot for a specific instance.Rollback snapshotRollback an instance to a specific snapshot state.Delete snapshotDelete a specific snapshot from an instance.Get backup historiesRetrieve a paginated list of backup histories for a specific instance.Restore backup fileRestore an instance from a specific backup file.Delete backup fileDelete a specific backup file from an instance.Get backup priceRetrieve the estimated backup price for a specific instance.Get backup schedulesRetrieve the list of backup schedules for a specific instance.Create backup scheduleCreate a new backup schedule for a specific instance.Update backup scheduleUpdate the backup schedule for a specific instance.Delete backup scheduleDelete a specific backup schedule from an instance.Get default firewall policyRetrieve the default firewall policy for a specific instance.Get firewall rule typesRetrieve the list of available firewall rule types.Update default firewall policyUpdate the default firewall policy for a specific instance.Get firewall rulesRetrieve a paginated list of firewall rules for a specific instance.Create firewall ruleCreate a new firewall rule for a specific instance.Update firewall ruleUpdate an existing firewall rule for a specific instance.Toggle firewall rule statusEnable or disable a specific firewall rule.Delete firewall ruleDelete a specific firewall rule from an instance.Get IPSetsRetrieve a paginated list of IPSets for a specific instance.Create IPSetCreate a new IPSet for a specific instance.Delete IPSetDelete a specific IPSet from an instance.Create CIDR in IPSetAdd a new CIDR entry to a specific IPSet.Delete CIDR from IPSetRemove a specific CIDR entry from an IPSet.Get SSH keys for instanceRetrieve the list of SSH keys assigned to a specific instance.

block storage

credentials

billings